Hi, I asked a question yesterday about how to manage to get %% around a variable without getting the evaluation. Well, the thing is, it does not work that way in my case...
I have a .bat file which gets an input parameter. Later on I want to use the value of this input parameter and put %...% around, like:
call script.bat testValue
script.bat:
set inputPar=%1
set newValue=%%inputPar%%
Now I get:
echo %inputPar%
testValue
echo %newValue%
%inputPar%
But I would like to get:
echo %newValue%
%testValue%
Is that somehow possible?