I am trying to write a simple batch file to remove a directory and everything in it. Since DELTREE is not supported on 2000 what is the easiest way to whack the entire folder?
I don't know if it is the same command in 2000, but if you go to a command prompt in XP the command is RMDIR to remove a directory. You could also just type in help at the command prompt and the delete or remove directory command will be listed.
If I am reading this right you also need to delete sub directories under the root directory. In which case RMDIR will not work. If you need to delete all sub directories you will need to write a vbscript/javascript to do it. This can still be run command line. If you need additional help writing the script I can throw something together, or you might search the web for it(I am sure someone has created a script like that).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.