- Jul
- 532
- 10
Seriously. The documentation is a lie
"CANCEL command - Terminate batch file processing
The CANCEL command ends all batch file processing, regardless of the batch file nesting level. Use QUIT to end a nested batch file and return to the previous batch file. "
I'm literally echoing "returning to the command line" immediately before CANCEL.
Yet... it returns to the calling BAT file.
That's what the documentation says QUIT is supposed to do.
I'm not using QUIT, i'm using CANCEL.
And it doesn't.
If i'm using it wrong, the docs should say that?
"CANCEL command - Terminate batch file processing
The CANCEL command ends all batch file processing, regardless of the batch file nesting level. Use QUIT to end a nested batch file and return to the previous batch file. "
I'm literally echoing "returning to the command line" immediately before CANCEL.
Yet... it returns to the calling BAT file.
That's what the documentation says QUIT is supposed to do.
I'm not using QUIT, i'm using CANCEL.
And it doesn't.
If i'm using it wrong, the docs should say that?