Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to delete folder from the command prompt?

 
   Windows (Home) -> General Discussions RSS
Next:  increasing time to allow web sites to download pa..  
Author Message
Jack

External


Since: Dec 30, 2006
Posts: 95



(Msg. 1) Posted: Thu Mar 06, 2008 9:38 pm
Post subject: How to delete folder from the command prompt?
Archived from groups: microsoft>public>windows>vista>installation_setup, others (more info?)

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
Back to top
Login to vote
R. C. White

External


Since: Jan 15, 2008
Posts: 28



(Msg. 2) Posted: Thu Mar 06, 2008 9:42 pm
Post subject: Re: How to delete folder from the command prompt? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.TakeThisOut@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
Back to top
Login to vote
Jack

External


Since: Dec 30, 2006
Posts: 95



(Msg. 3) Posted: Thu Mar 06, 2008 9:43 pm
Post subject: Re: How to delete folder from the command prompt? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Forgot to add.
I am right now starring at command prompt produced by Vista DVD installation
disk in repair mode.
I have access to that DVD and to c:\Windows folder which is XP windows.
Jack

"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
>
Back to top
Login to vote
" Keith Miller

External


Since: Jan 18, 2008
Posts: 15



(Msg. 4) Posted: Thu Mar 06, 2008 9:43 pm
Post subject: Re: How to delete folder from the command prompt? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

C:\Users\Keith>rd /?
Removes (deletes) a directory.

RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path

/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.

/Q Quiet mode, do not ask if ok to remove a directory tree with /S


--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



"Jack" <replyto@it> wrote in message
news:%23a9uC0$fIHA.2000@TK2MSFTNGP03.phx.gbl...
> Forgot to add.
> I am right now starring at command prompt produced by Vista DVD
> installation disk in repair mode.
> I have access to that DVD and to c:\Windows folder which is XP windows.
> Jack
>
> "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
>>
>
>
Back to top
Login to vote
Jack

External


Since: Dec 30, 2006
Posts: 95



(Msg. 5) Posted: Thu Mar 06, 2008 10:50 pm
Post subject: Re: How to delete folder from the command prompt? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

That removes only empty folders!
Jack

" Keith Miller (MVP)" <k.miller RemoveThis @NOSPAM.mchsi.com> wrote in message
news:%23$cD9PAgIHA.4164@TK2MSFTNGP05.phx.gbl...
> C:\Users\Keith>rd /?
> Removes (deletes) a directory.
>
> RMDIR [/S] [/Q] [drive:]path
> RD [/S] [/Q] [drive:]path
>
> /S Removes all directories and files in the specified directory
> in addition to the directory itself. Used to remove a
> directory
> tree.
>
> /Q Quiet mode, do not ask if ok to remove a directory tree with /S
>
>
> --
> Good Luck,
>
> Keith
> Microsoft MVP [Windows Shell/User]
>
>
>
> "Jack" <replyto@it> wrote in message
> news:%23a9uC0$fIHA.2000@TK2MSFTNGP03.phx.gbl...
>> Forgot to add.
>> I am right now starring at command prompt produced by Vista DVD
>> installation disk in repair mode.
>> I have access to that DVD and to c:\Windows folder which is XP windows.
>> Jack
>>
>> "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
>>>
>>
>>
>
Back to top
Login to vote
Jack

External


Since: Dec 30, 2006
Posts: 95



(Msg. 6) Posted: Thu Mar 06, 2008 10:52 pm
Post subject: Re: How to delete folder from the command prompt? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks.
I have tried rd and rmdir and both told me that folders are not empty.
Stupid me, forgot about switches!
Jack

"R. C. White" <rc RemoveThis @grandecom.net> wrote in message
news:31BF464B-AD3B-4072-84C9-1E347F8E0A1C@microsoft.com...
> 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 RemoveThis @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
>
Back to top
Login to vote
Jack

External


Since: Dec 30, 2006
Posts: 95



(Msg. 7) Posted: Thu Mar 06, 2008 10:53 pm
Post subject: Re: How to delete folder from the command prompt? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

sorry, forgot about switches!
Jack

"Jack" <replyto@it> wrote in message
news:%23abPRZAgIHA.5348@TK2MSFTNGP03.phx.gbl...
> That removes only empty folders!
> Jack
>
> " Keith Miller (MVP)" <k.miller DeleteThis @NOSPAM.mchsi.com> wrote in message
> news:%23$cD9PAgIHA.4164@TK2MSFTNGP05.phx.gbl...
>> C:\Users\Keith>rd /?
>> Removes (deletes) a directory.
>>
>> RMDIR [/S] [/Q] [drive:]path
>> RD [/S] [/Q] [drive:]path
>>
>> /S Removes all directories and files in the specified directory
>> in addition to the directory itself. Used to remove a
>> directory
>> tree.
>>
>> /Q Quiet mode, do not ask if ok to remove a directory tree with
>> /S
>>
>>
>> --
>> Good Luck,
>>
>> Keith
>> Microsoft MVP [Windows Shell/User]
>>
>>
>>
>> "Jack" <replyto@it> wrote in message
>> news:%23a9uC0$fIHA.2000@TK2MSFTNGP03.phx.gbl...
>>> Forgot to add.
>>> I am right now starring at command prompt produced by Vista DVD
>>> installation disk in repair mode.
>>> I have access to that DVD and to c:\Windows folder which is XP windows.
>>> Jack
>>>
>>> "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
>>>>
>>>
>>>
>>
>
>
Back to top
Login to vote
" Keith Miller

External


Since: Jan 18, 2008
Posts: 15



(Msg. 8) Posted: Thu Mar 06, 2008 11:43 pm
Post subject: Re: How to delete folder from the command prompt? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Glad to help.

--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



"Jack" <replyto@it> wrote in message
news:uMmISbAgIHA.6136@TK2MSFTNGP03.phx.gbl...
> sorry, forgot about switches!
> Jack
>
> "Jack" <replyto@it> wrote in message
> news:%23abPRZAgIHA.5348@TK2MSFTNGP03.phx.gbl...
>> That removes only empty folders!
>> Jack
>>
>> " Keith Miller (MVP)" <k.miller.DeleteThis@NOSPAM.mchsi.com> wrote in message
>> news:%23$cD9PAgIHA.4164@TK2MSFTNGP05.phx.gbl...
>>> C:\Users\Keith>rd /?
>>> Removes (deletes) a directory.
>>>
>>> RMDIR [/S] [/Q] [drive:]path
>>> RD [/S] [/Q] [drive:]path
>>>
>>> /S Removes all directories and files in the specified directory
>>> in addition to the directory itself. Used to remove a
>>> directory
>>> tree.
>>>
>>> /Q Quiet mode, do not ask if ok to remove a directory tree with
>>> /S
>>>
>>>
>>> --
>>> Good Luck,
>>>
>>> Keith
>>> Microsoft MVP [Windows Shell/User]
>>>
>>>
>>>
>>> "Jack" <replyto@it> wrote in message
>>> news:%23a9uC0$fIHA.2000@TK2MSFTNGP03.phx.gbl...
>>>> Forgot to add.
>>>> I am right now starring at command prompt produced by Vista DVD
>>>> installation disk in repair mode.
>>>> I have access to that DVD and to c:\Windows folder which is XP windows.
>>>> Jack
>>>>
>>>> "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
>>>>>
>>>>
>>>>
>>>
>>
>>
>
>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Share : how to convert DVD and video to iPhone,iPod,Zune,PSP - Share : how to convert DVD and video to iPhone,iPod,Zune,PSP Download it at [url=http://www.oursdownload.com/dvd-video-converter.html]click here [/url] Part 1:Convert DVD movie to iPhone, iPod touch/classic/video/nano, Zune, PSP, etc Part 2:Convert AVI,....

News Feed Gadget - I've put the news feed gadget on my desktop, but the feeds are not continuously updating (today it's displaying yesterday's headlines). How do I have the news feeds update automatically? -- Wendy R. from Blue Bell, PA

Command Prompt Here - Once I get into the DOS window and have a command line, am wondering what DOS commands are available with XP? What DOS version works and where can I get the whole thing? Thanks...Mike

Underscored text in Command Prompt? - Is there any way to output underscored text in the standard Command Prompt window? I don't want to install ANSII drivers, as I may ship my program to people without such drivers. An alternative would be to use overstrike characters (which may, or may ...

No display after full screen command prompt exit - If I open a dos window (command prompt) and go full screen by pressing alt-enter and then exit by typing 'exit'/enter, my display goes blank. The same think happens if I press alt-enter a second time. After this I can toggle using alt-enter between ...
       Windows (Home) -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
  Windows Forums
 Game Forums
 Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact