WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: George Vagenas on June 09, 2013, 01:24:23 AM

Title: Winbatch & Studio locking files.
Post by: George Vagenas on June 09, 2013, 01:24:23 AM
I have a script that is moving / renaming files and folders but I can't test it because Studio and WinBatch are locking the folders I want to remove.  See attached.
Title: Re: Winbatch & Studio locking files.
Post by: td on June 10, 2013, 07:33:47 AM
Again insufficient information to give a definitive answer but there are several conditions that cause the OS to lock a file or directory for a process.  One common cause is that a directory is the process's CWD.
Title: Re: Winbatch & Studio locking files.
Post by: George Vagenas on June 11, 2013, 11:41:24 AM
Always something more to learn.  I always thought it was the programs themselves locking a folder.