Would that apply to a mapped drive?
What I am ultimately trying to get to is a sharepoint backup using stsadm to backup to our disaster recovery site so we can do a restore to server there if we have to invoke for a lengthy time period. So my idea is to run stsadm once a week to do the back up, but have the same script kill off anything in the back up directory first as the I have not been able to get the -overwrite option in stsadm to actually overwrite the existing back up data. If there is any easy way to run stsadm over the network to another server and get the overwrite to actually work I would be home and hosed... Clayton Doige IT Project Manager CME Development Corporation T: 020 7430 5355 M: 07949 255062 E:[EMAIL PROTECTED] W:www.cetv-net.com From: Joseph L. Casale [mailto:[EMAIL PROTECTED] Sent: 28 October 2008 13:12 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. 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 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 user intervention, however it leaves the subfolders in place. What switch do I use to get rid of the folders as well? Thanks Clayton ______________________________________________________________________ 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/> ~
