DOS question

Status
Not open for further replies.
^What he said...
Why do you need something different than that, those are the commands to delete files. Is the file not deleting properly or something?
 
You can use "erase filename"

Erase does the same thing as del and delete. But why not just use those commands?

you could also remove the entire directory containing the file and all subdirectories with "rmdir /s directorypath" Be very careful with this one because it does a recursive call and deletes the whole file tree.
 
Del and erase are the only commands that I know for erasing files. Why do you need another command? Those commands are perfect. If you need to remove a directory, Use the rd or rmdir command. Del (directory) will delete all contents of a directory, but not the actual directory.
 
Status
Not open for further replies.
Back
Top Bottom