Posted by SpywareDr on June 29, 2011 at 05:19:10:
In Reply to: Re: Multiple variables within dos substring extraction posted by Valerie on June 26, 2011 at 22:16:49:
: 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 /?