lc2978
IS-IT--Management
- Dec 11, 2006
- 5
HI,
I have created a script that allows users to connec to lotus notes 6.5.3
The issue I am having is that I need to modify the script and add environmental variable so everytime a different user logs in it works for that particular user. All users.
I have the following:
Set net = WScript.CreateObject("WScript.Network")
Set sh = WScript.CreateObject("WScript.shell")
on error resume next
net.MapNetworkDrive "X:", "\\NOVELL1\DATA\USERS\userx\Mydocs\mail"
sh.run "C:\Lotus\notes\notes.exe =g:\notes.ini", 1, true
on error goto 0
I am trying to add a variable that works for all users: This one goes under "userx" like %username%. I have tried different ways but I cannot get this working for all users.
The script should map the drive for each different users that logs in.
All the rest works correctly since once the user logs in Novell from citrix, he/she does not need to provide additional credentials for the drive mapping. So all i need is to have a drive mapping script that works for all scenarios (users logging in).
Can someone give me some ideas.
Thanks
MarkL
I have created a script that allows users to connec to lotus notes 6.5.3
The issue I am having is that I need to modify the script and add environmental variable so everytime a different user logs in it works for that particular user. All users.
I have the following:
Set net = WScript.CreateObject("WScript.Network")
Set sh = WScript.CreateObject("WScript.shell")
on error resume next
net.MapNetworkDrive "X:", "\\NOVELL1\DATA\USERS\userx\Mydocs\mail"
sh.run "C:\Lotus\notes\notes.exe =g:\notes.ini", 1, true
on error goto 0
I am trying to add a variable that works for all users: This one goes under "userx" like %username%. I have tried different ways but I cannot get this working for all users.
The script should map the drive for each different users that logs in.
All the rest works correctly since once the user logs in Novell from citrix, he/she does not need to provide additional credentials for the drive mapping. So all i need is to have a drive mapping script that works for all scenarios (users logging in).
Can someone give me some ideas.
Thanks
MarkL