This is not directly related to programming, but bugs the heck out of me when I'm trying to program .
Ever since I've gotten my Windows 7, I've noticed that after a file is run, it becomes unwritable for some time.
For example, I create a batch file named hello.bat on my destkop using Notepad containing the following
ECHO Hello!I run it. For about a minute after the file finishes running, I cannot edit the file. Trying to gives me the "In use by other process" message. The file is still deletable.
A similar thing happens when I compile C++ executables. After compiling and running, I cannot compile using the same name without recieving a file in use error. After trying to overwrite a file, that file becomes undeletable for about a minute, then disappears.
I can work around it by deleting the file after I run it, but it's tedious to do that.
Does anyone else have this problem?