Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Permission denied error from dirmove function of File::Copy::Recursive.

by Marshall (Canon)
on Jul 23, 2011 at 03:43 UTC ( [id://916266]=note: print w/replies, xml ) Need Help??


in reply to Permission denied error from dirmove function of File::Copy::Recursive.

I found the unlocker freeware utility which can delete "locked" files. There is a command line interface to it. I do not know the details of how it works.
  • Comment on Re: Permission denied error from dirmove function of File::Copy::Recursive.

Replies are listed 'Best First'.
Re^2: Permission denied error from dirmove function of File::Copy::Recursive.
by Gulliver (Monk) on Jul 25, 2011 at 19:03 UTC

    This is very interesting. I don't want to install Freeware on a corporate server but if this VB or C# app can do it then maybe I could do the same. If I could find something open source that is similar I could see how to do it.

      I did some more snooping around and found unlocking-files-that-are-in-use. The article actually mentions unblocker and shows how to unlock a file with Microsoft's Sysinternal process explorer tool. I don't know if there is a command line interface to this or not, but looks certainly like something worth more investigation. I presume that your company would not have a problem with freeware from Microsoft's technet.

      I still was not able to find the underlying mechanism that these folks use to perform the unlocking - but evidently enough folks have figured it out that with more effort, this could be discovered. I hope that the above tool can be controlled via command line and if so, then I think you are in good shape.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://916266]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2025-11-08 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (65 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.