[Dev-C++] Clear/Delete a file that it is been used by services.exe
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: KrowniX \(\)--\(\) <kr...@ya...> - 2006-12-06 11:49:00
|
Hi,=0A=0AFriends..I got a problem here...=0AI have to do a robot that do th= e backup of the .evt files (c:\winnt\system32\config\*.evt) and after the b= ackup is finished I need to delete those files.=0A=0AWell...the first thing= is easy...just copy the files...and compress then,, but, how do I delete a= .evt file if it=B4s been used by the Event Viewer and the Event Viewer it = is been executed on services.exe and Windows NT doesn=B4t allow me to make = operations with it.=0A=0AAnyone knows ...some API...or have some idea about= how do I solve this problem??=0A=0AKrownix=0A=0A=0A=09=09=0A______________= _________________________________________ =0ANovidade no Yahoo! Mail: receb= a alertas de novas mensagens no seu celular. Registre seu aparelho agora! = =0Ahttp://br.mobile.yahoo.com/mailalertas/ =0A =0A |