Hey, just to say thanks. Here's what I have working
Rmdir c:\directory /Q /S Md c:\directory >From there the stsadm sharepoint backs up into c:\directory and then is replicated offsite, and then 24 hours later it will run again, so I get current backups without disk space spiralling out of control Thanks again Clayton Doige IT Project Manager CME Development Corporation T: 020 7430 5355 M: 07949 255062 E:[EMAIL PROTECTED] W:www.cetv-net.com From: Erik Goldoff [mailto:[EMAIL PROTECTED] Sent: 28 October 2008 16:38 To: NT System Admin Issues Subject: RE: Slightly OT DOS Syntax Q 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 ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. ______________________________________________________________________ ______________________________________________________________________ This electronic mail message and any attached files contain information intended for the exclusive use of the person(s) to whom it is addressed and may contain information that is proprietary, privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this message or its contents may be subject to legal restriction or sanction. If you have received this message in error, please notify the sender immediately by electronic mail and delete the original message and any attachments without retaining any copies. _____________________________________________________________________ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
