Computer and IT knowledge - things to know
sample script:
#script name: run_backup.bat
set myDate=%date:~-4%_%date:~3,2%_%date:~0,2%__%time:~0,2%_%time:~3,2%_%time:~6,2%
set BackupFile=d:\backup\backup_appname_%myDate%.7z
"C:\Program Files\7-Zip\7z.exe" a -t7z -mhe=on %BackupFile% D:\directory-to-backup
computer2know :: thank you for your visit :: have a nice day :: © 2024