Hello,
I need to have my installer copy all of the files and folders in my installers target directory on the target computer before the instillation of my app.
Find out more ›
Code: Select all
@echo off
set TIMESTAMP=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%--%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%
@echo TIMESTAMP=%TIMESTAMP%
md C:\backup\%TIMESTAMP%
xcopy /e "%tfolder%" "C:\backup\%TIMESTAMP%"
Code: Select all
"&Backup.bat" [tfolder]
Code: Select all
%1