Need to write some commands in a bat files (is that the correct term?) which will be run every night a 2am (via scheduled tasks) to back up files from my docs and some other folders.
Docs Folder : C:\Documents and Settings\Blackwell\My Documents
Other Folder : H:\
Backup drive : F:\
Now the questions
a) How do i put spaces into a dos command?
b) Is Xcopy the correct command
c) Which switches would i use so it only copies over files that have been changed since last back up
d) Can i also copy my website files aswell?
My Guess to start off;
XCOPY C:\Documents%and%Settings\Blackwell\My%Documents\*.* F:\Docs /E /U
No idea about the website one though
Docs Folder : C:\Documents and Settings\Blackwell\My Documents
Other Folder : H:\
Backup drive : F:\
Now the questions
a) How do i put spaces into a dos command?
b) Is Xcopy the correct command
c) Which switches would i use so it only copies over files that have been changed since last back up
d) Can i also copy my website files aswell?
My Guess to start off;
XCOPY C:\Documents%and%Settings\Blackwell\My%Documents\*.* F:\Docs /E /U
No idea about the website one though