C# Deleting Locked Files & Folders

Posted by orangecl4now on Stack Overflow See other posts from Stack Overflow or by orangecl4now
Published on 2010-05-24T14:02:45Z Indexed on 2010/05/24 14:31 UTC
Read the original article Hit count: 384

Filed under:
|
|
|

Hello

I am writing an application that updates some drivers. However the drivers are "in use" and can't be deleted unless I restart my computer.

So how can I write an application to delete these locked drivers without restarting the PC. IF Restarting MUST occur then how can I relaunch my application automatically when the computer restarts and delete those files?

© Stack Overflow or respective owner

Related posts about c#

Related posts about file-io