RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Doige, Clayton
nt 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

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Erik Goldoff
ty _ 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

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Carl Houseman
ubject: 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: Tu

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread René de Haas
Why not just Rd /s test1 Md test1 Regards René From: René de Haas Sent: Tuesday, October 28, 2008 3:02 PM To: 'NT System Admin Issues' Subject: RE: Slightly OT DOS Syntax Q Like rd /s test1 From: Erik Goldoff [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 20

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread René de Haas
Like rd /s test1 From: Erik Goldoff [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 3:00 PM 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 incorr

Re: Slightly OT DOS Syntax Q

2008-10-28 Thread James Rankin
olume 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

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Erik Goldoff
m 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 incorr

Re: Slightly OT DOS Syntax Q

2008-10-28 Thread James Rankin
October 28, 2008 9:31 AM > *To:* NT System Admin Issues > *Subject:* RE: Slightly OT DOS Syntax Q > > Why not try it before suspecting it of not working? > > > > /S Removes all directories and files in the specified directory > > in addition to th

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Erik Goldoff
rks, & Security _ From: Carl Houseman [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 9:31 AM To: NT System Admin Issues Subject: RE: Slightly OT DOS Syntax Q Why not try it before suspecting it of not working? /S Removes all directories and files in the sp

Re: Slightly OT DOS Syntax Q

2008-10-28 Thread mcn1964x
Try using deltree Cheers Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: "Doige, Clayton" <[EMAIL PROTECTED]> Date: Tue, 28 Oct 2008 13:00:12 To: NT System Admin Issues Subject: RE: Slightly OT DOS Syntax Q If I use that, will it

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Carl Houseman
with /S From: Erik Goldoff [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 9:08 AM To: NT System Admin Issues Subject: RE: Slightly OT DOS Syntax Q not sure rmdir will let you delete a directory that has *any* contents, including subdirectories... if you always want to delete

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Doige, Clayton
: RE: Slightly OT DOS Syntax Q In my scripts, I do this: cd x:\directory rmdir x:\directory /s /q This way the dir can't be deleted, as your in it. From: Clayton Doige [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 6:33 AM To: NT System Admin Issues Subject: Slight

Re: Slightly OT DOS Syntax Q

2008-10-28 Thread James Rankin
lto:[EMAIL PROTECTED] > *Sent:* Tuesday, October 28, 2008 6:33 AM > *To:* NT System Admin Issues > *Subject:* Slightly OT DOS Syntax Q > > > > Dusting off some DOS and drawing a mind blank. > > > > Wrote a short little batch file with the idea being that everyth

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Doige, Clayton
Admin Issues Subject: RE: Slightly OT DOS Syntax Q not sure rmdir will let you delete a directory that has *any* contents, including subdirectories... if you always want to delete the entire contents of c:\directory, I'd suggest scripting with something like KILLDIR < long link, w

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Kennedy, Jim
Brilliant. From: Joseph L. Casale [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 9:12 AM To: NT System Admin Issues Subject: RE: Slightly OT DOS Syntax Q In my scripts, I do this: cd x:\directory rmdir x:\directory /s /q This way the dir can't be deleted, as your in it.

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Joseph L. Casale
In my scripts, I do this: cd x:\directory rmdir x:\directory /s /q This way the dir can't be deleted, as your in it. From: Clayton Doige [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 6:33 AM To: NT System Admin Issues Subject: Slightly OT DOS Syntax Q Dusting off some DO

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Erik Goldoff
, Clayton [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 9:00 AM To: NT System Admin Issues Subject: RE: Slightly OT DOS Syntax Q If I use that, will it remove the root directory as well, or just the sub directory stuff? Eg: rmdir c:\directory /q /s Will that leave me with c:\di

Re: Slightly OT DOS Syntax Q

2008-10-28 Thread James Rankin
> thanks > > > > *Clayton Doige* > > IT Project Manager > > *C**M**E** Development Corporation* > > T: 020 7430 5355 > > M: 07949 255062 > > E:[EMAIL PROTECTED] > > W:www.cetv-net.com > > *From:* James Rankin [mailto:[EMAIL PROTECTED] > *Se

RE: Slightly OT DOS Syntax Q

2008-10-28 Thread Doige, Clayton
:[EMAIL PROTECTED] W:www.cetv-net.com From: James Rankin [mailto:[EMAIL PROTECTED] Sent: 28 October 2008 12:36 To: NT System Admin Issues Subject: Re: Slightly OT DOS Syntax Q Try using rmdir instead 2008/10/28 Clayton Doige <[EMAIL PROTECTED]> Dusting off some DOS and drawing a mind

Re: Slightly OT DOS Syntax Q

2008-10-28 Thread James Rankin
Try using rmdir instead 2008/10/28 Clayton Doige <[EMAIL PROTECTED]> > Dusting off some DOS and drawing a mind blank. > > Wrote a short little batch file with the idea being that everything (files > and folders) within in a certain directory is blown out everyday. Goes like > this: > > del c:\dir

Slightly OT DOS Syntax Q

2008-10-28 Thread Clayton Doige
Dusting off some DOS and drawing a mind blank. Wrote a short little batch file with the idea being that everything (files and folders) within in a certain directory is blown out everyday. Goes like this: del c:\directory\ *.* /Q /S this proceeds to delete every file in every subdirectory without