Using RMDir with both /R and /REBOOTOK: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library) |
m (Updated author and download links, and changed format of some pages.) |
||
Line 8: | Line 8: | ||
: Use Delete /REBOOTOK (works with wildcards) and use RMDir /REBOOTOK on an empty directory, or a directory that's about to become empty after a reboot. | : Use Delete /REBOOTOK (works with wildcards) and use RMDir /REBOOTOK on an empty directory, or a directory that's about to become empty after a reboot. | ||
Page author: virtlink | Page author: [[User:virtlink|virtlink]] |
Revision as of 12:36, 23 April 2005
- Issue
- I want to delete a complete directory structure, but I don't know if the files it contains are in use. But RMDir ... /R /REBOOTOK doesn't work.
- Cause
- You can't use the /R and /REBOOTOK switches at the same time.
- Solution
- Use Delete /REBOOTOK (works with wildcards) and use RMDir /REBOOTOK on an empty directory, or a directory that's about to become empty after a reboot.
Page author: virtlink