Windows Backup: xcopy /drys
If you have a USB drive and backup your My Documents folder to the USB drive, this simple command will copy only newer versions of files or new files only. No prompting 'yes for all' or anything. Here is the exact usage, to copy everything from My Documents to USB drive, in this case it it drive letter F:
Check your sytem in My Computer to see what letter your USB drive has been assigned.
Here is the DOS command:
xcopy /drys "C:\Documents and Settings\Ken\My Documents" "F:\My DOCUMENTS BACKUP"
This copies everything from the subdirectories too!
If you run it a second time it should have nothing new to copy since everything would be sync'd.
To make it simpler, just copy that xcopy line into a file and save it as backup.bat
Then you can click on the batch file (backup.bat) and it will run the command.
Otherwise you will need to run it from the Start, Run menu.
0 Comments:
Post a Comment
<< Home