Sounds like maybe you or someone else has been twiddling with your login script or NT environment. "%SystemRoot%" is another environment setting which should in this case be C:\WINNT.
Check you login script to see if the environment string WINNT=%SystemRoot% is in there, or talk to the net admin and see if they have changed anything trying to take a shortcut.
Where is my "login script" ? (I am using W2K)
The NT environment I found under "Enviroment Variables"
Start -> Programs -> Accessories -> Systemtools -> SystemInformation and indeed there are Windir set to %SystenRoot% - but this values are all "ReadOnly"
If you are being validated on a Novell server, you would have a login script unless you opted to not run it. That might be an issue.
You need admin rights to access those settings, but look here:
Start->Setting->Control Panel->System
Select the 'Advanced' tab and browse the settings.
It may or may not say %SystemRoot% but %SystemRoot% should be interpreted as 'C:\winnt' by the system anyway.
I guess I don't know why GETENV() would all of a sudden return a different value. However, I do know that using GETENV("WinDir" in Fox 2.x on an NT machine would return a different value ("" when called in a compiled .exe that it would in the developement environment ("C:\WINNT".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.