1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

variant del /s /x /e

Discussion in 'Suggestions' started by Christian Albaret, Apr 20, 2010.

  1. Christian Albaret

    Joined:
    Jul 1, 2008
    Messages:
    154
    Likes Received:
    1
    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.
     
  2. David Marcus

    Joined:
    Jun 4, 2008
    Messages:
    648
    Likes Received:
    1
    I second that.
     

Share This Page