I think it's the combination of GetNewestFile and DeleteFile.
The directory is locked when I use first GetNewestFile and then DeleteFile and this so on until the directory is empty.
This empty directory is locked until MS is complety exited.
Search found 3 matches
- Wed May 28, 2014 10:19 am
- Forum: Technical / Scripting
- Topic: GetNewestFile locks directory
- Replies: 8
- Views: 6057
- Tue May 27, 2014 3:07 pm
- Forum: Technical / Scripting
- Topic: GetNewestFile locks directory
- Replies: 8
- Views: 6057
Re: GetNewestFile locks directory
Hi, I'm using Win7(64) and MS 14.1 It's very simple. The program loops and is waiting for incoming files, if a file is found it send a message and deletes the file. After 10 minutes it closes himself. Now the parent program tries to delete the working dir, but it is locked by MS. Only when im closin...
- Tue May 27, 2014 12:38 pm
- Forum: Technical / Scripting
- Topic: GetNewestFile locks directory
- Replies: 8
- Views: 6057
GetNewestFile locks directory
Whe I use GetNewestFile>DirName,FileList , the command locks the directory 'DirName' . Even the macro stops the lock is there.
MS must be closed to delete the lock.
What must be done to solve this ?
MS must be closed to delete the lock.
What must be done to solve this ?