AlphaNT: Windows NT on Alpha (1995-2000)
 help / color / mirror / Atom feed
* Problem with ENV variables
@ 1995-11-15 22:02 Nik
  1995-11-15 22:49 ` Bobby Seder - PacifiCare Health Systems
  0 siblings, 1 reply; 2+ messages in thread
From: Nik @ 1995-11-15 22:02 UTC (permalink / 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          |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-11-15 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-15 22:02 Problem with ENV variables Nik
1995-11-15 22:49 ` Bobby Seder - PacifiCare Health Systems

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