syncing batch file
Moderator: DosItHelp
-
- Posts: 44
- Joined: 01 Jan 2011 20:54
syncing batch file
i want to create a batch file that syncs multiple folders, and i don't want to use the copy command, as that could create duplicates or errors (quessing). i also don't want to have to make an extra folder to sync. please help.
Re: syncing batch file
You should have a look at ROBOCOPY.
Regards
aGerman
Regards
aGerman
-
- Posts: 44
- Joined: 01 Jan 2011 20:54
Re: syncing batch file
thanks, it should work
Re: syncing batch file
I think 'CD' command will be helpful to you...
-
- Posts: 44
- Joined: 01 Jan 2011 20:54
Re: syncing batch file
as in:
?????
confused, but thanks for the idea. i think:
[code]@echo off
robocopy "Z:/..." "C:/users........" /mir[\code]
would work much better. aGerman, or other expert, what do you think?
Code: Select all
Z:
cd "Z:\..."
robocopy "." "C:......" /mir
?????
confused, but thanks for the idea. i think:
[code]@echo off
robocopy "Z:/..." "C:/users........" /mir[\code]
would work much better. aGerman, or other expert, what do you think?