- @echo off
- set ftpfilename=autoftp.cfg
- echo open 192.168.1.5 >"%ftpfilename%"
- echo lgh >>"%ftpfilename%"
- echo 123 >>"%ftpfilename%"
- echo Prompt >>"%ftpfilename%"
- echo bin >>"%ftpfilename%"
- echo lcd G:\cs >>"%ftpfilename%"
- echo put ATT2000.doc >>"%ftpfilename%"
- echo bye >>"%ftpfilename%"
- ftp -i -s:"%ftpfilename%"
- @pause
- del "%ftpfilename%"
复制代码 为什么运行不了 |