Posted by Valerie on June 29, 2011 at 07:20:42:
In Reply to: Re: Multiple variables within dos substring extraction posted by SpywareDr on June 29, 2011 at 05:19:10:
: : If you are also using an NT version (Windows XP
: : Win 7 etc) and ran the script you posted then
: : sure it will not work, delayed expansion of
: : environment variables is necessary. (see my
: : original response).
: Delayed expansion does work in Windows XP and Win 7. See the following two commands for more info:
: setlocal /?
: set /?
Yes but Humble User omitted the Setlocal Enabledelayedexpansion line which I included in my original response. If he ran the script he posted then it would not work due to the omission.