标签:put ftp pass date off tools root set too
@echo off
echo 打包数据并传到异地
set time=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%
echo %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2% start 压缩数据 > e:\%time%log.txt
%systemroot%\system32\ntbackup.exe backup D:\test\ /j databack /f "E:\data.bkf"
echo %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2% 压缩数据到E:\data.bkf完成 >> e:\%time%log.txt
echo %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2% start 发送到异地FTP >> e:\%time%log.txt
D:\systemtools\FlashFXP\flashfxp.exe -pass="as1234" -get -c2 put.fqf
echo %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2% 发送到异地FTP完成 >> e:\%time%log.txt
标签:put ftp pass date off tools root set too
原文地址:https://www.cnblogs.com/sfqas/p/12181158.html