How To Back-Up Files Automatically With A Batch File
67.9 هزار بار بازدید -
13 سال پیش
-
In this video I will
In this video I will show you how to make a batch file that will copy your files from one location to another. This can be used as a easy back-up. Please comment if you have any issues or PM me if you want something explaining in more detail. Thanks for watching :)
The command is:
@echo off
:: variables
set backupdir=%USERPROFILE%\Desktop\savesbackup
set backupcmd=xcopy /s /c /d /e /h /i /r /y
echo ### Backing Up Saves...
%backupcmd% "%USERPROFILE%\Desktop\saves" "%backupdir%\saves"
echo Backup Complete!
@pause
NOTE: You must save the file as a .bat file, NOT text file.
The command is:
@echo off
:: variables
set backupdir=%USERPROFILE%\Desktop\savesbackup
set backupcmd=xcopy /s /c /d /e /h /i /r /y
echo ### Backing Up Saves...
%backupcmd% "%USERPROFILE%\Desktop\saves" "%backupdir%\saves"
echo Backup Complete!
@pause
NOTE: You must save the file as a .bat file, NOT text file.
13 سال پیش
در تاریخ 1390/02/02 منتشر شده
است.
67,939
بـار بازدید شده