How do I force windows to overwrite or delete a file that's in use by a process?
you can't afaik - kill the process first. even @ a command prompt you can't overwrite an in-use file . . .Lucien wrote:
How do I force windows to overwrite or delete a file that's in use by a process?
Yeah, you have to shut down the program or process that has the file in use.
if you want to leave the process open use http://technet.microsoft.com/en-us/sysi … 96653.aspx to search for the process by file name 1) suspend the process,2) close the file handle, replace the file without actually killing the process using the file 3) put process thread back to normal. Depending on the process it might pick it back up.
Last edited by jsnipy (2009-09-08 11:09:22)
No, no, I have to delete/move/replace these files while the process is running. Jsnipy's method worked flawlessly.
Haxoring much?
I sometimes get folders/files that I can't move as they're "In use". Happens even after multiple startups, I've checked the processes and nothing's running it, it's just like the computer is trying to piss me off.
Not had any on this install yet though.
This post is kinda pointless.
Not had any on this install yet though.
This post is kinda pointless.