alyoob
Member
I am trying to execute a backup program using notepad then saving the file as a .bat so the at it will execute / run the backup program to save my content to another hard drive. I tried the original code and it worked fine it transferred the content in c:\testsource to c:\testbackup when i try to change the destination folder to another folder and tried the program again it did not transfer the content in c:\testbackup to the other folder. Can somebody show me what i am doing wrong.
@echo off
xcopy c:\testsource c:\testbackup /m /e /y
@echo off
xcopy c:\testsource c:\testbackup /m /e /y