@echo offset disk=d:REM o for /f “tokens=2-4 delims=/ ” %%g in (“%date%”) do ( set _MyLog=%%g%%h%%i)REM o for /f “tokens=1-3 delims=:.” %%g in (“%time%”) do ( set _MyLog=%_MyLog%%%g%%h%%i)REM W rem echo %_MyLog%
del %disk%\ad\*.* /qntbackup backup systemstate /f “%disk%\ad\ad%_MyLog%.bkf”
@echo offREM o for /f “tokens=2-4 delims=/ ” %%g in (“%date%”) do ( set _MyLog=%%g%%h%%i)REM o for /f “tokens=1-3 delims=:.” %%g in (“%time%”) do ( set _MyLog=%_MyLog%%%g%%h%%i)REM W rem echo %_MyLog%
del %disk%\exch\*.* /qntbackup backup “@c:\exch.bks” /f “%disk%\exch\exch%_MyLog%.bkf” /m normal
REM o for /f “tokens=2-4 delims=/ ” %%g in (“%date%”) do ( set _MyLog=%%g%%h%%i)REM o for /f “tokens=1-3 delims=:.” %%g in (“%time%”) do ( set _MyLog=%_MyLog%%%g%%h%%i)REM W rem echo %_MyLog%
del %disk%\file\*.* /qntbackup backup “@c:\file.bks” /f “%disk%\file\file%_MyLog%.bkf”
set disk=
Views: 4