yay, i finally susses this out
First load /etc/nwserv.conf
Look at where the SYS mount is - the line will be like this :
1 SYS /home/netware/SYS/ # SYS
cd /home/netware/SYS/PUBLIC/
vi "NET\$LOG.DAT"
Treat as a normal Login script - The Novell Guide to Netware Networks Book has a load of examples in chapter 10 - you can ignor NDS stuff as it won't work.
My example is
Code:
Write "Good %GREETING_TIME, %LOGIN_NAME."
MAP DISPLAY OFF
MAP ERRORS OFF
Write "Welcome to %FILE_SERVER The MARS_NWE Print Server"
Write "Restoring Network Shares...."
MAP K:=HIGHWAY:
Write "Connecting LPT1 to CAXTON...."
#capture L=1 Q=caxton ti=30 FF AU NOTI NB
IF "%OS" = "WIN98" THEN GOTO WINDOWS98
MAP DISPLAY ON
MAP
END
EXIT
;========= Subroutines ==========
WINDOWS98:
Write "You are Running Windows 98"
EXIT
unfortunatly i get what seams to be a cosmetic error of "LOGIN-4.22.00-923: Un Unexpected Error Has Occured. 14 (89fc)"
But hey it works