- Jan
- 179
- 2
Here is my test.bat showing each condition works in batch.
And here it is running in CMDebug not working.
And here it is running in CMDebug not working.
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!See the image of CMDebug. It says it's defined. It is not there's no input. And the comparison is what really happens with out the debugger where it works correctly.Not sure what you mean here -- BDEBUGGER is displaying "defined", which is what you got at the prompt that you said was working.
Why are you using the CMD FOR variable syntax %~1 (which means "%1 with enclosing quotes stripped") instead of just a %1?
There was nothing defined. There was nothing in the batch arguments box.Not sure what you mean here -- BDEBUGGER is displaying "defined", which is what you got at the prompt that you said was working.
Why are you using the CMD FOR variable syntax %~1 (which means "%1 with enclosing quotes stripped") instead of just a %1?