MAP DISPLAY OFF
BREAK ON

WRITE
WRITE "Welcome %LOGIN_NAME to %FILE_SERVER."
WRITE "Today is %MONTH_NAME %DAY, %YEAR - %HOUR:%MINUTE %AM_PM."
WRITE "Station: %STATION"
WRITE

; Default mappings for a fresh MARS NWE installation.
; A new setup normally only has the SYS: volume, so this script does not
; reference APPS:, HOME:, CD-ROM volumes, or other file servers.
;
; Match the classic NetWare default mapping layout:
;   Drive F: = SERVER\SYS:\SYSTEM
;   S1/Z:    = SERVER\SYS:\PUBLIC
;   S2/Y:    = SERVER\SYS:\
;
; First regular drive mapped to SYS:\SYSTEM, matching the standard Novell
; login script layout shown by MAP after login.
MAP *1:=SYS:SYSTEM

; Search drive for NetWare/MARS NWE utilities.  Use explicit DOS drive
; letters so MAP shows S1 as Z:, like the standard Novell login script.
MAP INS S1:=Z:SYS:PUBLIC

; Search drive for the SYS: root.  Use explicit Y: so MAP shows S2 as
; Y: [SERVER\SYS: \].
MAP INS S2:=Y:SYS:

; Examples for local customisation.  Enable only after creating the
; corresponding directories or volumes.
;
; User home directory on SYS:
; IF MEMBER OF "EVERYONE" THEN
;      MAP ROOT H:=SYS:HOME\%LOGIN_NAME
; END
;
; Shared directory on SYS:
; IF MEMBER OF "EVERYONE" THEN
;      MAP G:=SYS:SHARED
; END
;
; Department example:
; IF MEMBER OF "SALES" THEN
;      MAP S:=SYS:DEPT\SALES
; END
;
; Local DOS search path example:
; MAP INS S2:=C:\DOS
; COMSPEC=C:\COMMAND.COM
;
; Start a program after login, for example a menu:
; #SYS:PUBLIC\MENU.EXE
;
; Exit to a workstation batch file:
; EXIT "STARTNET.BAT"

WRITE
WRITE "Login script complete."
