"rd /s /q ." works for me...

Adolfo Justiniano
Santa Cruz BBS
e-mail: [EMAIL PROTECTED]
http://www.scbbs.net
  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Tolmachoff
(Lists)
Sent: Saturday, September 24, 2005 9:12 PM
To: [email protected]
Subject: RE: [IMail Forum] OT: DOS commands

RMDIR and RD requires specifying the directory to be removed. If the
directory is unknown...

Thanks for trying.

John T
eServices For You


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:IMail_Forum- 
> [EMAIL PROTECTED] On Behalf Of Adolfo Justiniano
> Sent: Saturday, September 24, 2005 4:08 PM
> To: [email protected]
> Subject: RE: [IMail Forum] OT: DOS commands
> 
> C:\Windows>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
> 
> 
> Adolfo Justiniano
> Santa Cruz BBS
> e-mail: [EMAIL PROTECTED]
> http://www.scbbs.net
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of John 
> Tolmachoff
> (Lists)
> Sent: Saturday, September 24, 2005 6:47 PM
> To: [email protected]
> Subject: [IMail Forum] OT: DOS commands
> 
> What dos command can you use to delete all directors even if they 
> contain files, and you do not know what the name of the directories are?
> 
> I am trying to write a batch file for a customer using a zip drive, 
> and I need to make sure there are no files or directories in it before 
> coping files in. I do not want to use the format command.
> 
> John T
> eServices For You
> 
> 
> 
> 
> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
> List Archive: 
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
> ---
> [This E-mail was scanned for viruses by the Santa Cruz BBS anti-virus 
> system]
> 
> 
> ---
> [This E-mail was scanned for viruses by the Santa Cruz BBS anti-virus
system]
> 
> 
> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
> List Archive: 
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
---
[This E-mail was scanned for viruses by the Santa Cruz BBS anti-virus
system]


---
[This E-mail was scanned for viruses by the Santa Cruz BBS anti-virus system]


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to