Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

vs 2010 command line - set command

2 views
Skip to first unread message

persres

unread,
Oct 5, 2011, 7:01:26 AM10/5/11
to
Hi,
I am unable to set environment variables in a batch file.

For eg, I have the following in a file setup.cmd -
set imagex="C:\Program Files\Windows AIK\Tools\amd64\imagex.exe"

In the vs 2010 command line if I use %imagex% it is not defined.

Could you please tell me why?. I need to set a variable in a batch
file. And I need to use the value later in the command line or in
another batch file.
Thanks


0 new messages