To “Call” or “Not to Call” a batch file?

后端 未结 4 890
天命终不由人
天命终不由人 2020-11-30 06:54

If from inside a bat file you called another batch file but still had a few remaining operations to complete, how can you make sure that the call to first bat file will afte

4条回答
  •  鱼传尺愫
    2020-11-30 07:57

    The `CALL' statement was introduced in MS-DOS 3.3

    It is used to call other batch files within a batch file, without aborting the execution of the calling batch file, and using the same environment for both batch files.

    So in your case the solution is to use CALL

提交回复
热议问题