bondy/scripts/Start Backup.bat

16 lines
332 B
Batchfile
Executable File

@ECHO off
TITLE Concorde Backup
FOR /f "delims=" %%a IN ('date /t') DO @SET currentDate=%%a
ECHO Dato: %currentDate%
SET src=E:\Concorde\concorde
SET dest=G:\Backups\%currentDate%
ECHO Starter backup, vent venligst...
MKDIR %dest%
XCOPY /Q /E /V %src% %dest%
ECHO Backup oprettet og kan ses her:
ECHO %dest%
PAUSE