|08 Apr 2012||#2|
| || |
The first two are easy enough, but I've had some trouble getting a SHUTDOWN to happen after a backup has run - it seems to execute the shutdown during the other commands.
For the defragmentation and backup, try this - lets assume you want to backup from E:\Work and E:\Music to Z:
defrag E: /U /V robocopy E:\Work Z:\Backup\Work /E /MIR /R:3 /W:10 robocopy E:\Music Z:\Backup\Music /E /MIR /R:3 /W:10
defrag /? robocopy /? shutdown /?
ROBOCOPY - Create Backup Script
|My System Specs|
|Similar help and support threads for2: Batch file to de-fragment, backup, then shutdown?|
|How to run a batch file at logoff & some batch scripting help please||Backup and Restore|
|Protected Folders Batch File Backup||Backup and Restore|
|Batch File that grabs file names from folder to insert into batch file||General Discussion|
|Creating .batch to run at shutdown||Performance & Maintenance|
|Remote Shutdown advanced Batch Job||Network & Sharing|
|Shutdown PC w/ batch file (1hour) after program(game) launched||Chillout Room|
|Auto shutdown batch file help||General Discussion|
|Our Sites ||Site Links ||About Us ||Find Us |
© Designer Media Ltd
All times are GMT -5. The time now is 10:09 PM.