Lucien
Fantasma Parastasie
+1,451|6623
How do I force windows to overwrite or delete a file that's in use by a process?
https://i.imgur.com/HTmoH.jpg
13urnzz
Banned
+5,830|6467

Lucien wrote:

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 . . .
Agent_Dung_Bomb
Member
+302|6706|Salt Lake City

Yeah, you have to shut down the program or process that has the file in use.
jsnipy
...
+3,276|6493|...

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)

.Sup
be nice
+2,646|6424|The Twilight Zone
Have you tried going in safe mode and deleting it from there?
https://www.shrani.si/f/3H/7h/45GTw71U/untitled-1.png
Lucien
Fantasma Parastasie
+1,451|6623
No, no, I have to delete/move/replace these files while the process is running. Jsnipy's method worked flawlessly.
https://i.imgur.com/HTmoH.jpg
Sydney
2λчиэλ
+783|6813|Reykjavík, Iceland.
Haxoring much?
Finray
Hup! Dos, Tres, Cuatro
+2,629|5758|Catherine Black
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.
https://i.imgur.com/qwWEP9F.png

Board footer

Privacy Policy - © 2024 Jeff Minard