I'm working on a batch file in Windows 7 Ultimate. I'm using notepad++ with the runme extension.
When I run the batch file and make some changes directly after that, I am not able to save the .bat file, because windows says it's been used by another process.
So I need to wait about 60 seconds until I'm able to re-save the file to test the changes.
Same goes when using the built-in Notepad.
Strangely I can delete the .bat file directly after running it, but saving doesn't work.
Some months ago, when I was working on another batch-file, everything was working ok.
Is there any way to stop this strange behaviour? Or is there at least any way to see which process is blocking the file?
msconfig.exeand useservices.mscinstead. This way you won't be able to disable critical services, and you have a greater control over startup types and other settings, whereas the system configuration utility can just disable or re-enable services. – and31415 Apr 14 '14 at 13:19