Hi, Jack.
How about
: rd /s
Rd is Remove Directory, of course, and the /s switch removes all the
subfolders, too. As usual in the Command Prompt window (which we old-timers
still call the "DOS window" even though we know it's not really DOS), type
the command followed by /? for what I call a mini-Help file that shows the
switches and parameters available with the command. Rd offers only a
couple: /s and /q.
It's a little surprising - to me, at least - that rd won't work if there are
files in the folder, but rd /s will.
RC
--
R. C. White, CPA
San Marcos, TX
rc@grandecom.net
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64 SP1)
"Jack" <replyto@it> wrote in message
news:u9j$Ix$fIHA.2448@TK2MSFTNGP03.phx.gbl...
> Hello,
> In the old good days there was a 'deltree' command (DOS & Win98) to delete
> folder with subfolders from the command line.
> Now, I need that to do in Vista.
> How to do that?
> Jack