I’m using the following login script entry to map a network drive using visual basic. Any ideas why this won’t work?
dim strUserName
set strUserName = WshNetwork.UserName
wshnetwork.mapnetworkdrive “U:”,”\\HSNWNT40\” & strUserName
If I use the following without variables it works just fine:
dim wshnetwork
wshnetwork.mapnetworkdrive “R:”,”\\HSNWNT40\APPS”