msinfo32

msinfo32 won't run in NSIS under Windows XP

一曲冷凌霜 提交于 2019-12-13 15:53:22
问题 The following NSIS line refuses to run for some reason (returns immediately) under Windows XP: ExecWait ' "$PROGRAMFILES\Common Files\Microsoft Shared\MSInfo\msinfo32" /report "$DESKTOP\msinfo.log" ' If I run msinfo32 in the command line, it runs properly: C:\Documents and Settings\Admin> "%PROGRAMFILES%\Common Files\Microsoft Shared\MSInfo\msinfo32" /report "%APPDATA%\..\Desktop\msinfo.log" Why? And how do I make it work? 回答1: Remove spaces after single quotes and add .exe for msinfo. Worked

Parse a *.nfo file with python

喜欢而已 提交于 2019-12-11 12:03:44
问题 I try to parse a nfo file and print in a html code style (a table). I tried with xml.etree but i get only 2 elements: Metadata and Category . This is how a .nfo looks like: <?xml version="1.0"?> <MsInfo> <Metadata> <Version>8.0</Version> <CreationUTC>12/02/15 10:45:25</CreationUTC> </Metadata> <Category name="System Summary"> <Data> <Item><![CDATA[OS Name]]></Item> <Value><![CDATA[Microsoft Windows 8.1 Pro]]></Value> </Data> </Category> </MsInfo> My code looks like: tree = ET.parse(File) root