First line of batch file fails - is not recognized as an internal or external command, operable program or batch file
问题 on Windows 7 in VS2012, I have setup an External Tool to call a bat file (let’s call it BatA.bat). In the external tool, I am passing in $(ItemDir) as the one and only Argument and I have the Initial Directory to $(ItemDir) as well. Within BatA.bat, a call is made to run BatB.bat like this: call "%1BatB.bat" This command calling BatB.bat results in the following in the output window: 'rem' is not recognized as an internal or external command, operable program or batch file. hello BatB.bat