logo elektroda
logo elektroda
X
logo elektroda

Simple BAT Script for Folder Backup: Copy, Overwrite Old Data, and Automatic Process

lukasz2090 11229 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16518047
    lukasz2090
    Level 6  
    Please, write a simple script. It would copy all files from one folder to another disk to the selected folder (it's a backup,). It's also about automatically overwriting old data. Thank you in advance for your answer.
  • ADVERTISEMENT
  • #3 16542234
    czareqpl
    Level 33  
    A: This is the disk or location where you want to keep the backup ...


    rem directory names created according to the formula \ _
    @Echo. on
    xcopy C: \ users \ \ Desktop \ * O: \% date% \ Desktop / s / y

    xcopy C: \ users \ \ Documents \ * O: \% date% \ Documents / s / y

    pause
ADVERTISEMENT