AlphaNT: Windows NT on Alpha (1995-2000)
 help / color / mirror / Atom feed
From: Nik Zapantis, UVic Physics, Victoria BC <ZAPANTIS@uvphys.phys.UVic.CA>
Subject: Problem with ENV variables
Date: Wed, 15 Nov 1995 14:02:40 -0800 (PST)	[thread overview]
Message-ID: <951115140240.204001ac@uvphys.phys.UVic.CA> (raw)

Hi all,

I have an Alpha 200 4/100 WNT 3.51 system and I am having a problem with the
setting of an env. variable.
I am trying to define the MOSAIC.INI file to point to a user's directory.
point to C:\users\%USERNAME%\mosaic.ini
Click on set and the variable is set to C:\users\current-user-name\mosaic.ini
Windows NT diagnostics-->Environment also show the variable correctly set.

The problem is that Mosaic does not see it and it cannot find the mosaic.ini
file.
Also, if I open a command window (MSDOS) and do a SET or ECHO %MOSAIC.INI% 
I get
	C:\users\%USERNAME%\mosaic.ini
returned.
It appears that the %USERNAME% variable is not correctly substituted.
If I redefine the MOSAIC.INI variable in the command window, the variable now
reflects the correct path.
It looks as though the %USERNAME% is not defined when the MOSAIC.INI is
declared.
Is this what is causing the problem, or am I missing something?

BTW, for now, I have forced mosaic to use the proper mosaic.ini file by using
     the -i switch at the command line.

thanks,
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Nik Zapantis                  | zapantis@uvphys.phys.UVic.CA  |
| Dept. of Physics & Astronomy  | 45393::zapantis(HEPnet/SPAN)  |
| University of Victoria        | http://info.phys.UVic.CA/     |
| PO BOX 3055, MS 7700          |                               |
| Victoria, BC                  | Phone: (604)721-7729          |
| V8W 3P6                       | FAX:   (604)721-7715          |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

             reply	other threads:[~1995-11-15 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-15 22:02 Nik [this message]
1995-11-15 22:49 ` Problem with ENV variables Bobby Seder - PacifiCare Health Systems
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox