Prev Previous Post   Next Post Next
Old 19th February 2012, 14:35   #1
rumovoice
Junior Member
 
Join Date: Nov 2011
Posts: 11
How can I check directory for locked files?

How can I recursively check if a directory contains write-locked files (running .exe or .dll)?

I'm writing an updater that simply replaces old filed with new ones and before starting the update process I want to check if it is safe. Without this check I may end up with half-updated application (some dll updates may succeed before I encounter running exe and than user may close the updater) which will be unusable.
rumovoice is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump