PC Review


Reply
Thread Tools Rate Thread

Copying a file being used

 
 
K Viltersten
Guest
Posts: n/a
 
      15th Oct 2008
I'm attempting to copy a log file from Windows
Event Log that is in c:\windows\system32\config
directory. The problem is that at the moment i
do that (using File.Copy method), the file is
used by Windows and i get errors.

How can i copy the file (or at least read from
it) without stopping the service that is being
logged in it?

I've read that there's a facility to retrieve
the data from event files called WEvtUtil.exe
but it's available for Vista only.


--
Regards
Konrad Viltersten
----------------------------------------
May all spammers die an agonizing death;
have no burial places; their souls be
chased by demons in Gehenna from one room
to another for all eternity and beyond.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Copying File or Folder message when copying file to CD MichaelRLanier@gmail.com Microsoft Excel Programming 0 2nd Aug 2008 05:43 PM
OVERLY-LONG FILE NAMES, as impediment to file copying =?Utf-8?B?RXZlcnltYW5FbmRVc2Vy?= Windows XP Help 6 17th Aug 2005 03:14 AM
Copying Pivot Table to new file--why does it still refer to original file? LJones Microsoft Excel Misc 1 1st Aug 2004 09:26 PM
Copying File Security Attributes From One File System Tree To Another? CHANGE USERNAME TO westes Microsoft Windows 2000 Security 1 21st Jul 2004 01:28 AM
RE: Error Copying File or Folder - Access denied - The source file may be in use diasmith [MSFT] Microsoft Windows 2000 Security 0 30th Oct 2003 08:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:22 AM.