Trying to add a varible while mapping a drive - TechRepublic
Question
March 16, 2007 at 05:53 AM
jtemple

Trying to add a varible while mapping a drive

by jtemple . Updated 19 years, 3 months ago

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.

This discussion is locked

All Comments