Search found 2 matches

by ccbdos
13 Mar 2012 16:12
Forum: DOS Batch Forum
Topic: Evaluate Variable
Replies: 2
Views: 2672

Re: Evaluate Variable

Thank You!

I missed the call on the first and had actually tried the second... without setting EnableDelayedExpansion. Thanks for forgiving my ignorance and helping me out! I much appreciate it!
by ccbdos
13 Mar 2012 14:09
Forum: DOS Batch Forum
Topic: Evaluate Variable
Replies: 2
Views: 2672

Evaluate Variable

I am sure there is a very simple answer to this, but I have searched and can't find it. I would like to evaluate a variable using a variable as the variable's name. Clear as mud? A simple example: set variable1=hello set variablename=variable1 echo %%%variablename%%% The desired result is: hello The...