?
?("*******************************************************************************");
?(" Logon Domain: ") (%USERDOMAIN%);
?(" Logon Server: ") (%LOGONSERVER%);
?(" Username: ")(%USERNAME%);
?(" Workstation: ")(%COMPUTERNAME%);
?("*******************************************************************************");
?
?
?
?("Now Mapping User H Drive")
Use H: /delete /persistent
Use H: "\\okcpfs01vh\home\%USERNAME%"
?("The Command Completed Successfully")
?
?("Now Mapping Departmental Drives")
?
;Section that Maps Network Drives By Departmental Group
use I: /delete /persistent
use I: "\\okcpfs01vh\shared"
?("The Command Completed Successfully")
gosub "general"
:General
?
?("Now Mapping R Drive")
Use R: /delete /persistent
Use R: "\\xprthq1\whmail"
?("The Command Completed Successfully")
?
?("Now Mapping S Drive")
Use S: /delete /persistent
Use S: "\\xprthq1\ehmail"
?("The Command Completed Successfully")
?
?("Now Mapping Forms T Drive")
Use T: /delete /persistent
Use T: "\\xprthq1\forms"
?("The Command Completed Successfully")
If Exist ("%LOGONSERVER%\netlogon\okc1\%USERNAME%.kix")?Call "%LOGONSERVER%\netlogon\okc1\%USERNAME%.kix"
?
Else EndIf
?