thanks, but his *original* syntax was
del c:\directory\ *.* /Q /S
 
that's what I was trying to mimic .... all has been resolved earlier,
thanks, and I like using the '.' shortcut for "current directory" <g>
 

Erik Goldoff


IT  Consultant

Systems, Networks, & Security 

 

  _____  

From: Carl Houseman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 28, 2008 10:37 AM
To: NT System Admin Issues
Subject: RE: Slightly OT DOS Syntax Q



The original syntax questioned by Clayton had the correct syntax. In two
tries you've changed it so it wouldn't work.

 

It is never proper at the command line to use two switches in succession
without separating them with spaces.

 

So it is like these:

 

rmdir g:\test1 /s /q

rmdir /s /q g:\test1

 

The above will eliminate test1 completely.  If you wish to retain an empty
test1 folder then:

 

            cd /d g:\test1

            rd . /s /q

 

Carl

 

From: Erik Goldoff [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 28, 2008 10:00 AM
To: NT System Admin Issues
Subject: RE: Slightly OT DOS Syntax Q

 

like this ?  :

 

G:\>rmdir g:\test1\*.* /s/q
The filename, directory name, or volume label syntax is incorrect.

 


Erik Goldoff


IT  Consultant

Systems, Networks, & Security 

 

 

  _____  

From: James Rankin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 28, 2008 9:48 AM
To: NT System Admin Issues
Subject: Re: Slightly OT DOS Syntax Q

Don't you need to specify the directory path?

2008/10/28 Erik Goldoff <[EMAIL PROTECTED]>

when I tried it I got 

 

G:\test1>rmdir *.* /s
*.*, Are you sure (Y/N)? y
The filename, directory name, or volume label syntax is incorrect.

 

I *DID* try it first, so now you know why I suspect it of not working .... (
on an XP sp2 system )


Erik Goldoff


IT  Consultant

Systems, Networks, & Security 

 

 

 

 

 


 


 

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.4/1749 - Release Date: 10/28/2008
10:04 AM



~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to