Getting the system profile

miscdas at boxfrog.com miscdas at boxfrog.com
Fri Jul 11 20:40:01 EDT 2003


Yates, Glen writes: 

>> >msinfo32.exe /report output.txt
>> >
>> >Then it will create a text file 'output.txt' with the system 
>> info in it that
>> >you can then parse for the info you need. The only drawback 
>> is it takes a
>> >little while to run. You may be able to narrow it down to 
>> just the category
>> >you need, though.
>> >
>> >-Glen 
>> 
>> How would one narrow it down?
like this: 

on mouseUp
 launch "C:\Program Files\Common Files\Microsoft Shared\MSInfo\MSInfo32.exe 
/report C:\Temp\cdrom.txt /categories +componentsMultimediaCDROM"
end mouseUp 

It only takes a couple of seconds, rather than the many seconds required to 
get the complete sysinfo. 

Now read and parse the file cdrom.txt that was placed in C:\Temp directory.
(The file still contains some uneeded general system info, but the CD-ROM 
info is there.) 

miscdas 


> 
> -Glen



More information about the metacard mailing list