3 replies
by krompton
The following link may answer your question or at least start you in the right direction.
Krompton(AKA Steve)
http://www.jsiinc.com/subb/tip0600/rh0672.htm
Thanks Steve,
I'm not too sure when it come to programming but I think I have the information on Windows Scripting that should do the job. I just need to incorperate, my existing print map script into the script I found... See below...
Set oADsSysInfo = CreateObject("ADSystemInfo")
' Get distinguished name of the current user
sADsUser = oADsSysInfo.UserName
If InStr(1, sADsUser, "OU=marketing,", vbTextCompare) > 0 then
'map J: to \\server\shares_marketing
Elseif InStr(1, sADsUser, "OU=sales,", vbTextCompare) > 0 then
'map K: to \\server\shares_sales
end if
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending