- @echo off
- cls
- set /p input=请输入最后一个目录:
- (echo open 10.90.248.164
- echo usrtst01
- echo usr01
- echo cd /data1/on/9x6000/8awx/e8/00/%input%
- echo lcd D:\Test
- echo bin
- echo mget *.gls
- echo quit)>c:\ftp.txt
- echo -----正在下载,请稍后...
- start ftp -v -i -s:"c:\ftp.txt"
- copy *.gls %input%.xls
- copy *.xls D:\Test\Data
- del s *.gls *.lot *.xls
复制代码
|