[Tutor] Unlocking a windows file

aschmidt at fredericksburg.com aschmidt at fredericksburg.com
Fri Nov 14 16:16:05 EST 2003

I have a small script that runs and looks in a folder on a windows server for the existence of a file that matches a pattern. The files are put there as the result of another windows appplication that has chewed on the file in one folder and moved it to a new folder. I am trying to process the file and then move/rename/whatever that file to an archive folder of sorts. I can copy it, but cannot move it or rename it to a new folder. Its just not working.
If the old process locked it somehow, how can I unlock it? Remove all system hooks it could have on it. Its just a text file.



More information about the Tutor mailing list