Tuesday, April 21, 2009

How to write systeminfo to a text file?







Go to Start


Click on run

In open type cmd and then click Ok

In the Command Prompt type something like this:

systeminfo > C:/Systeminfo.txt

Where this reffer to systeminfo > [drive letter] , [/path]

This procedure will generate a .txt file in C:/ called Systeminfo.txt

You can use this procedure with another commands like tasklist, openfiles, etc...

Also you can change the type of file using: systeminfo /FO CSV > C:/Systeminfo.csv