windows下ftp带时间参数

来源:互联网 发布:用户画像数据建模方法 编辑:程序博客网 时间:2024/05/16 16:58

@echo off
echo open 192.216.1.140 >>test2.txt
echo fxf  >>test2.txt
echo ltoper  >>test2.txt
echo cd F:/impcdr/ftp/cdma  >>test2.txt
echo lcd d:/test/dir  >>test2.txt
echo asc  >>test2.txt
echo mget in16*%date:~0,4%%date:~5,2%%date:~8,2%.r  >>test2.txt
echo disconnect  >>test2.txt
ftp -i -s:d:/test/test2.txt
del test2.txt
pause

原创粉丝点击