Re:Windows is the strangest, or hardest, operating system to...
by mort96 on Wednesday November 30, 2022 @11:48AM
(#33803436)
That's about modifying files though, not deleting files. If you delete an executable that's currently running and create a new one with the same path, that's fine. If you try to modify an executable that's currently running, the kernel won't let you.
Re:Windows is the strangest, or hardest, operating system to...
by yencabulator on Wednesday November 30, 2022 @06:39PM
(#33809691)
Not normally on delete. (Most common exception: you're trying to delete an active mountpoint.)
Where most people see that is attempting to mutate a currently running executable. That's forbidden, as it would lead to executing essentially random code. You can replace what file the filename points to, with rename.
https://stackoverflow.com/questions/16764946/what-generates-...