Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Cannot step into and/or call another .bat file when debugging .bat file

Aug
2
0
I'm debugging a .bat file and there is a line like the following:

Code:
call scripts\some_other_script.bat

But, when I try to step into that script (F11 key) there is a message in the cmd window that says

TCC: ...\path\to\bat\file.batch_file.bat [line number] Unknown command "scrip[ts\some_other_script.bat"

How do I step into another batch file? Even if I don't try to step into the batch file it still fails as above.
 
I used %~dp0 plus the relative path to give it a full path and that allowed me to step into the script. Thanks!
 

Similar threads

Back
Top