YooperNC
13th April 2004 19:54 UTC
RMDir parameters
If I specify /REBOOTOK on an RMDir command, does the directory have to be empty? Or does the /REBOOTOK parameter imply a "/r" parameter. Unfortunately, the two parameters are mutually exclusive, so I can't specify both on the same command. Thanks!
YooperNC
14th April 2004 15:18 UTC
Thanks, but what if I don't know how many levels of subdirectories there are? That's the nice thing about the "/r" switch. I don't mind having to reboot, and I don't mind placing "Delete /REBOOTOK ${MYDIR}\*.*" before the RMDir. But there may be other subdirectories below ${MYDIR}, and I want to be certain that ${MYDIR} is gone when I expect it to be gone. Any other suggestions?
Joost Verburg
14th April 2004 15:33 UTC
There have been some topics about enumerating all folders inside a folder. Please search the forum.