'Doskey' is not recognized

My projects build runner is "command line" and the executable is batch file (File1.bat). No command parameters passed in TeamCity. This batch file calls another batch file (setenv.bat) that has arguments for setting env variables. I get the below error when running the build. Suggestions on how to fix will be of great help.

C:\Sandbox\MeterDriver\temp>call C:\WinDDK\6000\bin\setenv.bat C:\WinDDK\6000\ chk WXP
'doskey' is not recognized as an internal or external command, operable program or batch file.

1 comment
Comment actions Permalink

Please check the user account that was used to start build agent service.
Make sure required environment variables were set system-wide.


Please sign in to leave a comment.