Skip to content

Sequence of instructions in cmd shell doesn't work #25569

Answered by Yanjingzhu
pmatos asked this question in Actions
Discussion options

You must be logged in to vote

Thank you for reporting this issue. This is an expected behavior.

In ancient DOS versions it was not possible to recursively execute batch files. Then the call command was introduced that called another cmd shell to execute the batch file and returned execution back to the calling cmd shell when finished.

You can use call command before bat file name to

call msvcprep.bat x86_amd64
call build.bat

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants