Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: imbricated variables  (Read 3188 times)

0 Members and 1 Guest are viewing this topic.

zamoth

  • Guest
imbricated variables
« on: November 03, 2004, 03:39:32 AM »
I try to resolve imbricated variables :

set a=temp
set b=%a%

I'd like te resolve something like %%B%% (I use this in a for loop because I have a set different variables)

but echo %%B%% just says %a%

I try to put this this way

for %%i in (%%B%%) do ( .....

how can DOS solve "a" using the "b" variable as input ?



zamoth

  • Guest
Re: imbricated variables
« Reply #1 on: November 03, 2004, 04:12:01 AM »
a little error

I meant

set b=a
and I'd like to resolve

so %b% = a
and I'd like te resolve %%b%% = %a% = temp

sorry for the error