bondy/scripts/concorde_backup.bat

17 lines
348 B
Batchfile
Executable File

@ECHO off
TITLE Concorde Backup
FOR /f "delims=" %%a IN ('date /t') DO @SET currentDate=%%a
ECHO Dato: %currentDate%
SET cwd=%cd%
SET src=E:\Concorde\concorde
SET dest=%cwd%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