Batch : call ,start, and Immidiately Call

Write it before forget it:

In Batch script:

Call

Calls one batch program from another. Such as invoking one function( or code segment), or include function to replace the call expression to the sub-batch.bat code segment .

Start

Starts a separate window to run a specified program or command. Like the background process in shell.

Immidiately Call

 Main.bat

  ...

  sub.bat

  ...

It dont not create the process, like call, but after it execute the sub.bat, it dont return to the Main.bat.

你可能感兴趣的:(batch)