我正在尝试执行当前看起来像这样的批处理脚本:
D:
cd D:My Documents\FtpSolution\Test
getftp.bat
call delimconvert.exe
call convert-to-xls.bat
Run Code Online (Sandbox Code Playgroud)
然而,在getftp.bat运行后,这会停止.
我究竟做错了什么?这些命令都按顺序运行非常重要.
Joe*_*oey 31
用途call:
Calls one batch program from another.
CALL [drive:][path]filename [batch-parameters]
batch-parameters Specifies any command-line information required by the
batch program.
Run Code Online (Sandbox Code Playgroud)
如果您调用其他批处理文件而没有call控制权传递给它们但不再返回(这是call更改).