4

In windowsxp, I use "del /s /q myfolder" to delete a big folder. It will list all files and folders being deleted. is there a way to avoid that long display list? thanks,

4
  • 3
    I hate to be pendantic, but the command line in XP is not DOS.
    – Andy West
    Jan 29, 2010 at 23:54
  • 3
    @Andy: Don't hate it. The world needs more pedantic programmers.
    – Heinzi
    Jan 29, 2010 at 23:55
  • @Heinzi: LOL. I suppose I could think of it as being "detail-oriented".
    – Andy West
    Jan 29, 2010 at 23:58
  • @Andy: Did you mean command.com or cmd.exe? :) j/k ...
    – t0mm13b
    Jan 30, 2010 at 0:09

2 Answers 2

7
rmdir /s /q myfolder
2

or rmdir del /s /q myfolder > nul

Which is the equivalent of the Unix/Linux's /dev/null which throws away any outputs as they are redirected to a black hole of a bit bucket...

Edit: Thanks Heinzi for my stoopid error....I have struck out the rmdir and replaced it with del :)

Hope this helps, Best regards, Tom.

1
  • You probably meant del /s /q myfolder > nul? rmdir does not produce output anyway...
    – Heinzi
    Jan 30, 2010 at 0:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.