gbmolina Posted February 7, 2008 Posted February 7, 2008 hi, I'm trying to make a bat file that will backup my documents with a single click to a specified location, please tell me if the /exclude switch of the xcopy command is used correctly. (the idea is to copy everything except the "filmi" and "downloads" directories.Also, do all operations wait for each other to complete? I.e., will the shutdown command be carried out after all files (except the above mentioned directories) are copied?@ECHO ON:STARTXCOPY D:\ "G:\" /Y /E /EXCLUDE: D:\filmi\+D:\downloads\shutdown -s -t: 0thanks
IcemanND Posted February 7, 2008 Posted February 7, 2008 It looks right but you should remove the space between EXCLUDE: and D:\filmi
schwindt14 Posted February 7, 2008 Posted February 7, 2008 And yes, the shutdown will not execute until the previous commands complete.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now