Copy this code and paste it in your HTML
rem Dependacies
(tools need to be
in the path variable
): 7za.exe, HoboCopy.exe
set backuplist=backup_list.txt
for /f "tokens=
1,
2,
3,
4 delims=/ "
%%a
in ("
%date%"
) do set day=
%%a&set
month=
%%b&set
year=
%%c
mkdir "
%backupdir%\
%year%-
%month%-
%day%"
mkdir "
%temp%\
%year%-
%month%-
%day%"
set logfile="
%backupdir%\
%year%-
%month%-
%day%\
%year%-
%month%-
%day%.log"
set archive="
%backupdir%\
%year%-
%month%-
%day%\
%year%-
%month%-
%day%.7z"
for /f "tokens=
1-
2 delims=,"
%%a
in ('type "
%backuplist%"'
) do hobocopy /r /y "
%%a" "
%temp%\
%year%-
%month%-
%day%\
%%b"
7za a -t7z "%archive%" "%temp%\%year%-%month%-%day%">>"%logfile%"
rd /s /q "
%temp%\
%year%-
%month%-
%day%"