We don't bite newbies here... much | |
PerlMonks |
Detecting locked files in Windowsby moggs (Sexton) |
on Mar 25, 2008 at 15:52 UTC ( [id://676149]=perlquestion: print w/replies, xml ) | Need Help?? |
moggs has asked for the wisdom of the Perl Monks concerning the following question: Hi... this should (in theory) be an easy question... Is there any way I can detect a locked file in Windows? I've done my searches, but don't seem to have found anything positive. The tiny little task I've been given is to zip and FTP all the data in a number of directories created by an accounting package, but it must fail (or at least warn) if any of the files are locked. Ideas would be warmly appreciated... even just the next set of search terms! Many thanks! Moggs
Back to
Seekers of Perl Wisdom
|
|