General discussion
March 22, 2001 at 02:11 AM
clynnlee

Login Scripts

by clynnlee . Updated 23 years ago

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”

This discussion is locked

All Comments