DOS question

Status
Not open for further replies.

Jorsoft

Fully Optimized
Messages
4,581
Location
Oakdale, MN
^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?
 

bla!!

Daemon Poster
Messages
1,118
Location
/usr/root/mn/us
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.
 

kpmwrestler

In Runtime
Messages
489
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.
Top Bottom