A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » The Basics
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Environment vars



 
 
Thread Tools Display Modes
  #1  
Old January 19th 09, 02:51 PM posted to microsoft.public.windowsxp.basics
Jim Brown[_2_]
external usenet poster
 
Posts: 5
Default Environment vars

Hi,

I need to define a set of env vars that point to a particular file tree like
so: APP_VER = C:\APP.1.2.3. I then use that var in other vars like so: PATH
= %APP_VER%\bin;... We changes versions quite often, and all I want to need
to do is change the value of APP_VER and the other vars change accordingly.
(I use the System Properties dialog to set the vars.)

The problem is that after a period of time, %APP_VER% gets replaced with
its value in the other vars, i.e. it gets expanded like so:
PATH=C:\APP.1.2.3\bin;...

How does that happen and what can I do to prevent the expansion?

Thank you,
Jim




Ads
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 05:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.