Batch script stops after first call to other batch script

前端 未结 3 1525
温柔的废话
温柔的废话 2021-01-11 12:52

I\'m attempting to execute a batch script that currently looks like this:

D:
cd D:My Documents\\FtpSolution\\Test
getftp.bat
call delimconvert.exe
call conve         


        
3条回答
  •  鱼传尺愫
    2021-01-11 13:15

    Use 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.
    

    If you invoke other batch files without call then control is passed to them but not back again (which is what call changes).

提交回复
热议问题