Hi, I need help with this one. I want to shift variables in a for /f loop. For example for /f "tokens=1,2,3,4,5,6,7,8,9 delims=:" %%a in ('@echo %trk%') do echo %%a %%b %%c %%d %%e %%f %%g %%h %%i (%trk% may contains something like 1:2:4:6:7:8:12) So instead of writing code to handle all the %%a to %%i variables I prefer to use a shift like method to process %%a only. This also helps to avoid extra code to handle how many variables have data inside.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.