This script requires the program CMDer.
Then go to your CMDer installation path (where the CMDer.exe
is located) and create there the batch script:
backup.bat
REM Enter here the local path where the script should copy the backup to
SET backuplocation = "E:\Dateien\Raspberry Pi Backup"
SET current=%cd%
SET folder=%time:~0,2%-%time:~3,2%-%time:~6,2%_%date%