I wonder do we have any command like DelTree in DOS which deletes a folder with all its sub-folders and files ... or i have to use FSO and loop through and delete one by one??
[drive:]path Specifies the directory containing COMMAND.COM file.
device Specifies the device to use for command input and output.
/E:nnnnn Sets the initial environment size to nnnnn bytes.
/P Makes the new command interpreter permanent (can't exit).
/C string Carries out the command specified by string, and then stops.
/MSG Specifies that all error messages be stored in memory. You
need to specify /P with this switch.
I made similar software some years ago.
the concept was to make the deletion recursively: get into a directory, delete all files, than delete the next directory, ...
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.