Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with getting PC info

3 views
Skip to first unread message

Charles Reid

unread,
Nov 15, 2007, 7:53:10 PM11/15/07
to
What I am trying to do is audit a PC and get the some info and was wondering
how to do that with vbscript. The type of info that I am looking for can be
found in the Dos command.

Dos command
c:\> set > c:\temp\audit.txt

I also need to include any and all user created files and search for those
files on a pc using vbscript and write the output to a file. In a dos
window, I can type the following command and pipe it to a file and was
wondering if there was a way to do it in vbscript

Dos command
c:\>dir /s *.mdb *.ppt *.xls *.doc *.pdf *.txt *.rpt >> c:\temp\audit.txt

any and all help in this matter is greatly appreciated.


0 new messages