rem #Staff profile
rem #Written Andrew Stringer, copyright Birmingham MediaHub

CLS
write "Start of OU=ERC.Mediahub Profile Login Script."
write " "
write "Good %GREETING_TIME %LOGIN_NAME, it is %DAY_OF_WEEK, %DAY %MONTH_NAME, %YEAR."
lastlogintime
map s16:MARS/SYS:PUBLIC
map root p:=MARS/sys:\public
map root i:=MARS/vol11:erc_all
rem #P:\Dataprot.exe
write "You are %LOGIN_NAME.%LOGIN_CONTEXT "
DOS SET user="%LOGIN_NAME"
@P:\NAL.exe
rem sayit can be used for simple broadcast messages at login.
rem #P:\sayit Due to an update problem with sophos on w98, a script
will now attempt to delete the sophos folder. This is not unexpected
activity.

rem IF OS="WIN98"
rem #p:\killsweep.bat
rem END

#\\mars\sys\sweep\w95inst\setup -inl -a

IF DAY_OF_WEEK="Monday"
#p:\modemtest\testmod.bat  
END

write "end of ERC profile."
write " "


====================================================================
Container login script


write "Start of WJC ou login script"

#\\mars\sys\sweep\w95inst\setup -inl -a

if member of "WJC Staff Group" then
map root h:=MARS/vol1:users\wjc\%LOGIN_NAME
map root k:=MARS/vol1:users\wjc\clients
map root j:=MARS/vol1:erc_home\wjc
end

if member of "WJC Client Group" then
map root h:=MARS/vol1:users\wjc\clients\%LOGIN_NAME
end

write "End of WJC ou login script"
 
rb/loginscript-txt.txt · Last modified: 02/04/2018 22:37 by 127.0.0.1