Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Declined variant del /s /x /e

I regularly use an alias to del /s /x /e to remove files in a directory tree.
The /e option is there because I don't care about all the "file not found" and "directory not empty" messages.
On the other hand, I do care about an "access denied" message (read-only file that cannot be deleted, unless I add /z).
/e suppresses all non-fatal messages.
Suggestion: a variant such as /e1, that would suppress warnings ("file not found", "directory not empty") but keep errors ("access denied") — if such a distinction between errors and warning can be devised.
 
Back
Top