I have a 'msbuild' script in a file called 'domake.bat'.
If I press Enter while the cursor is on that file, the file is executed correctly and the msbuild process is successful.
However, if I press 'Shift+Enter', msbuild fails - some files THAT ARE THERE are not found. So, somehow the msbuild does not receive something (maybe current path?) correctly from Total Commander!
The (domake.bat) file content is:
----------------------------------------------
@echo off
REM set environment variables
call \entwicklung\set_build_paths.bat
REM change current dir to project group dir
PUSHD %~p0\prjtest
REM compile with cleaning up using passed arguments
%MSBUILD% %* /t:Clean;Build CwmGroup.groupproj
REM restore current dir
POPD
----------------------------------------------
shift+enter does not work on bat files
Moderators: Hacker, petermad, Stefan2, white
It should be easy to find out why this happens. Add some debugging output to your script and/or remove the @echo off (or comment it out) to see what's wrong. And make sure that the parameters you pass to your script are correctly quoted.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: shift+enter does not work on bat files
thanks for the help @Dalai (although it's kinda late now) bubble shooter