I have a batch file that receives a string of "this:EE notthis:that may:probably", which is being split, but I need to manipulate the split string and can't. Any help in pointing me in the right direction would be very appreciated.
The script is:
:: Set the overrides string from the arguments, stripping quotes
SET overrridesString=%1
SET overrridesString=%overrridesString:"=%
FOR %%i in (%overrridesString%) do (
SET tmpLine=%%i
echo [DEBUG] Line is '%%i' and tmpLine is '%tmpLine%'
)
I am getting the following output though, which is really confusing me:
[DEBUG] Line is 'this~EE' and tmpLine is 'may:probably'
[DEBUG] Line is 'notthis:that' and tmpLine is 'may:probably'
[DEBUG] Line is 'may:probably' and tmpLine is 'may:probably'
Thank you in advance