Hello , I am new to the Take Command Prompt and i am facing what could be a very basic problem. We have been using tcmd.exe to execute some btm files. However that task was being done manually. I have a task now where in i have to execute the same commands through a MSBuild Script.
I have added the tcmd.exe path in the environment variable (C:\Program Files (x86)\JPSoft\TCMD9\tcmd.exe) on the server and i am trying to execute the below command from the build script.
<Exec Command=">tcmd cd /d "$(SolutionRoot)\"" ContinueOnError="false" />
<Exec Command=">tcmd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat"" ContinueOnError="false" />
<Exec Command=">tcmd "$(SolutionRoot)\_PackAll.btm"" ContinueOnError="false"/>
The problem is that these commands are being executed on the CMD.exe instead of tcmd.exe. So the first and the second command run fine however nothing executes on the 3rd command.
So just wanted to know if there is a way through which we can execute commands on tcmd.exe through MSBuild script.
I have added the tcmd.exe path in the environment variable (C:\Program Files (x86)\JPSoft\TCMD9\tcmd.exe) on the server and i am trying to execute the below command from the build script.
<Exec Command=">tcmd cd /d "$(SolutionRoot)\"" ContinueOnError="false" />
<Exec Command=">tcmd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat"" ContinueOnError="false" />
<Exec Command=">tcmd "$(SolutionRoot)\_PackAll.btm"" ContinueOnError="false"/>
The problem is that these commands are being executed on the CMD.exe instead of tcmd.exe. So the first and the second command run fine however nothing executes on the 3rd command.
So just wanted to know if there is a way through which we can execute commands on tcmd.exe through MSBuild script.