Author Topic: Winbatch & Studio locking files.  (Read 4311 times)

George Vagenas

  • Full Member
  • ***
  • Posts: 102
Winbatch & Studio locking files.
« 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.
Thanks

George

td

  • Tech Support
  • *****
  • Posts: 4354
    • WinBatch
Re: Winbatch & Studio locking files.
« Reply #1 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.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

George Vagenas

  • Full Member
  • ***
  • Posts: 102
Re: Winbatch & Studio locking files.
« Reply #2 on: June 11, 2013, 11:41:24 am »
Always something more to learn.  I always thought it was the programs themselves locking a folder.
Thanks

George