1.

Solve : Create a batch job which launches winmsd?

Answer»

Hello,
Can someone please help me with the syntax on creating a batch job which launches "winmsd" and then exports the data to a text file in a specific location?  winmsd is a Windows utility which provides system information about your computer (HW, SW, components etc).

When launched from the command line a System Information screen opens up and from there you can select File...EXPORT... and save as a text file.  

Thanks in advance.


Check the ressourcekit for a equivalent commandline tool. I am sure there is one.

uliAre you referring to the Windows resourcekit?
If so this was of no use.
Any other suggestions. Quote

Hello,
batch job which launches "winmsd" and then exports the data to a text file in a specific location?
Well, that was interesting.

Nudged by your question, I ran
winmsg /?
and saw some options.

I tried
winmsd xxxxxxxxxxxxx /s /F

where xxxxxxxxxxxxx is the name of my computer.

I got a REPORT in xxxxxxxxxxxxx.txt

I guess that is what you want.

To put into c:\abc\def.txt, you could put this in your batch file

winmsd xxxxxxxxxxxxx /s /f
copy xxxxxxxxxxxxx.txt c:\abc\def.txt
erase xxxxxxxxxxxxx.txt

In other words, it doesn't appear that the name of the output file is a user-supplied parameter.

Mac
How did you get this to automatically save (or even open) as a text file?
When I run the exact same command:   winmsd xxxxxxxxxxxxx /s /f , it just opens up the System Information screen.  to get into text I still must select File...Export and then choose a destination.

Thanks
TrevorWhat version of Windows are you running?  In Windows XP, WINMSD has been replaced with MSINFO32.  So you can run:
Code: [Select]start msinfo32 /report C:\HardwareReport.txtOf course, you can REPLACE "C:\HardwareReport.txt" with the actual file you want the report in.  It may take a minute or 2 to create the report, so be patient waiting for the report file to show up
Thanks All for your help, I have this working now.

Trevor Quote
Thanks All for your help, I have this working now.

Trevor

WAIT! Wait! Come back!!

How did you get it working???

Mac



Discussion

No Comment Found