Question Locked
Trying to add a varible while mapping a drive
0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am using a vbscript for logins, but I am having a problem tryinig to use a username varible with the MapDrive function. Here is the code I am using:
MapDrive "J:", "\\", "\dev" & oNet.UserName
What I want to do is map the drive to a specific users folder.