Desktop

General discussion

Locked

remove dir and contents in ms-dos

By sfath ·
Is there a single command in the ms-dos mode to remove a directory and its contents all at once?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

remove dir and contents in ms-dos

by SyscoKid In reply to remove dir and contents i ...

Yes.

deltree drive:path

deletes a directory and its contents.

Collapse -

remove dir and contents in ms-dos

by SyscoKid In reply to remove dir and contents i ...

You can also do

deltree /Y drive:path

to suppress the question "Are you sure..."

Collapse -

remove dir and contents in ms-dos

by sfath In reply to remove dir and contents i ...

Poster rated this answer

Collapse -

remove dir and contents in ms-dos

by sfath In reply to remove dir and contents i ...

This question was closed by the author

Related Discussions

Related Forums