| View previous topic :: View next topic |
| Author |
Message |
bpmb
Joined: 13 Sep 2009 Posts: 30
|
Posted: Thu Nov 12, 2009 9:23 pm Post subject: Copy Windows Log files |
|
|
Hi you!
I'm trying to build a little utility which collects system information like hardware, software etc.. This is working fine.. What I'd also like to be able to do is copy all the windows log files and zip them up with the rest of the information.
I tried doing this using FileCopy and got the files allright but they were corrupted and couldn't be opened on another system..
I was looking for a way to use 'eventvwr.exe' to save all the log files but can't see an option to do something like that, it can only open a certain log file?
Does anyone know how to do this? |
|
| Back to top |
|
 |
Wingfat
Joined: 23 Aug 2004 Posts: 275 Location: East Bay, California USA
|
Posted: Thu Nov 12, 2009 9:47 pm Post subject: |
|
|
useing the event viewer you should be able to save the logs to a file.
then you can use AHK to take them all and put them in one text file if that is what you wanted.. or you could just zip them up yourself with the info you collected on the hardware and such. _________________ ----------------------------
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
----------------------------- |
|
| Back to top |
|
 |
|