AutoHotkey Community

It is currently May 26th, 2012, 11:53 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Copy Windows Log files
PostPosted: November 12th, 2009, 10:23 pm 
Offline

Joined: September 13th, 2009, 2:34 pm
Posts: 30
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 12th, 2009, 10:47 pm 
Offline

Joined: August 23rd, 2004, 10:06 pm
Posts: 276
Location: East Bay, California USA
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?"
-----------------------------


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], hyper_, Leef_me, patgenn123, Pulover, RaptorX, rbrtryn, tidbit, XstatyK and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group