I am using a for loop and constructing names of env variables ( like abc%%i , where i is the loop variable ) that are to be read , and use delayed expansion to print out their values (assuming these env variables have already been set ) ..
echo is dos provides the facility to mention the field width of the variable to be printed out like echo %x:~-8% will right justify the value of x and the field width will be 8 ..
But since i am using delayed expansion , !abc%%i:~-8! does not seem to be working .
Any ideas as to how to set field width while using delayed expansion ,??
Happiness Deepak