I have one batch file that takes the input parameters. Afterwards, it executes an external windows application with the help of parameters.
%1 %2 %3 %4
REM the command line arguments
REM "C:\windowapp.exe" -w%dbUser% -x%dbPassword% -y%dbDatasource% -u%user% -e%env% -m%objectID% -n%objectType%
One of the input parameters has a pipe sign in it. In this way, the batch file does not take the full parameter. It takes the value before the pipe sign and assign it to the variable. Pipe sign has meanings in batch file.
How to workaround this problem?