Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SET PATH=... command has been overriden during logon.exe running

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I placed "SET PATH=G:\PUBLIC;G:\NC;G:\DOS"
to autoexec.bat and it works fine but after running logon.exe PATH environement variable contains only "G:\NC"
Is it a bug in netware client software or I've done something wrong?
Please help.
 
Which Netware client are you running? Reason being is that NT and 98 handle mappings differently.

[sig]<p>Mark C. Greenwood, Certified N<br><a href=mailto:m_jgreenwood@yahoo.com>m_jgreenwood@yahoo.com</a><br><a href= > </a><br>CNE 4.11 and CNE 5 certified. BS Degree in MIS. Working in the industry for 8 years. <br>
I work with NT servers, NDS for NT as well.<br>
[/sig]
 
I am using netware vlm client v1.21 with dos 6.0.
When I typed &quot;SET&quot; in command line after running vlm.exe
system printed right values (that I specified in autoexec.bat). But after running login.exe it overwrites all my settings for PATH variable.
I must also say that I have container login script and user login script for this user and there are no any search drives mappings there.
 
You may need to use the NO-DEFAULT switch - otherwise the login command automatically sets some search drives. The following is the base login script we use in all our containers. Also, maybe try deleting the user login script or re-entering it - seen goofy problems go away, couldn't see any difference in the spelling befor or after, but it worked. Be carefull of word-wrap.

-----------------------------------------------------
MAP ERRORS OFF
NO_DEFAULT

IF MACHINE != &quot;IBM_PC&quot; THEN PCCOMPATIBLE
SET_TIME ON
MAP DISPLAY ON
WRITE &quot; &quot;
WRITE &quot;Good %GREETING_TIME, %FULL_NAME&quot;
WRITE &quot;&quot;
WRITE &quot; &quot;
WRITE &quot;Your Login Time is %HOUR:%MINUTE%AM_PM on %MONTH-%DAY-%SHORT_YEAR&quot;
WRITE &quot;Your Login Context = &quot;;&quot;%LOGIN_CONTEXT&quot;
WRITE &quot; &quot;
WRITE &quot;Have a good %DAY_OF_WEEK&quot;;&quot;!&quot;
WRITE &quot; &quot;

MAP ROOT F:=%HOME_DIRECTORY
MAP ROOT G:=F:..\SHARED
MAP DISPLAY OFF
MAP ROOT P:=Server1\CIVIC:
MAP INS ROOT S1:=Server1\SYS:pUBLIC
MAP INS ROOT S2:=SYS:pUBLIC\%MACHINE\%OS\%OS_VERSION

If &quot;%OS&quot; = &quot;MSDOS&quot; then exit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top