6 ms·
My information might be old. I haven’t worked on a Windows application in 5+ years. At that point you couldn’t.
by mduggles 3y ago
My information might be old. I haven’t worked on a Windows application in 5+ years. At that point you couldn’t.
- justsomehnguy 3y ago... it worked like that since Windows XP
- mduggles 3y agoYou absolutely sure about that? https://www.biology-it.iastate.edu/solution-cannot-rename-file-because-folder-or-file-it-open-another-program https://www.biology-it.iastate.edu/solution-cannot-rename-fi... https://answers.microsoft.com/en-us/windows/forum/all/renaming-files-when-they-are-open-is-it-possible/2eeef4c2-74fb-4196-987c-4c9de4b640a6 https://answers.microsoft.com/en-us/windows/forum/all/renami... https://superuser.com/questions/54193/how-can-i-rename-files-and-folders-in-windows-that-are-in-use https://superuser.com/questions/54193/how-can-i-rename-files... From Mozilla: On Windows, it is not possible to remove or rename files and directories which are being used. In order to handle this, we need to add a little complexity. The Firefox executable will launch a helper application copied to somewhere outside of the installation directory, most likely the system's temporary directory. The helper application renames the existing installation directory to a new directory with ".tmp" appended to its path name. If the rename operation fails in the middle of the operation because of a file being open by another application, it reverts the change. Source: https://wiki.mozilla.org/Background_Updates https://wiki.mozilla.org/Background_Updates
- justsomehnguy 3y agoYes, see https://imgur.com/a/8XdMVmF https://imgur.com/a/8XdMVmF FF tries to rename a directory with files opened under it. No sane OS should allow that.