Reputation: 5203
I am automating testing with test complete and CCNet. I am getting the error message "process cannot access the file because it is being used by another process" while deleting some folders.
Is there any tools which can be used to unlock the file? I need to automate the unlock operation from CCnet
Upvotes: 2
Views: 9090
Reputation: 7187
Haven't tried it myself but Unlocker might solve your problem. According to the FAQ it has a CLI:
- Can Unlocker be run in command line? Yes! Unlocker -H for command line options.
Upvotes: 3
Reputation: 336
Open task manager (ctrl + alt + del keys, select task manager), and see if you can find the name of your most recent application. If you find the application still running, but not visible, that means it switched to a background process, and likely has a bug/infinite loop. End the program task if you find it (you may very well find several) and that should clear up an file-IO errors. Hopefully this helped!
Upvotes: -1