Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
NT4 CMD: Delete directories autmatically
Name: Olik Date: April 13, 1999 at 05:20:08 Pacific
Comment:
Does anybody know how to delete a directory (with subdirs and files) from NT4's command prompt, without any user interaction? "rd
/s" works like old "deltree", but you still have to supply a "yes" in order to continue. This is not desirable, since I intend to use this feature in batch files.
Perhaps one can redirect some "input" to the command, for instance something like this: rd TEMP /s <<'y' (I've tried a few of these with no success so far.)
Please reply to my email address as well as to the forum! Thanks!
Summary: Hi, How to delete directories more than 7 days old from a batch file. I manage to delete files older that specified date using OBSOLETE.EXE but were unable to do the same with directory. ...
Summary: You simply do not have the rights required to delete the directory. Either the NTFS security has been correctly set and you shouldn't remove this directory or the permissions must be changed to give ...
Summary: Hello All, One of our WEB server was hacked into and a directory was set up with MP3 files. We found the directory but are unable to delete it. We keep getting access denied even logged in as adminis...