Need because of the company every day will be a folder inside the backup file is copied to another computer, file size, a lot of about 20 g want to do a simple BAT now automatically every night to variable replication, tried many commands is not, who help me ah thank you very much, please file naming convention is 20160217 a day date a folder, thanks who can help me to write
CodePudding user response:
CMD to obtain the function of the date is not commonly used, with reference to the following:
set today=% date: ~ 0, 4 date: % % % % date: ~ 5, 2 ~ 8, 2 %
CodePudding user response:
Search "robocopy"
CodePudding user response:
Using FASTCOPY sync can also solve the problem
CodePudding user response:
Good good good