jguy Posted October 12, 2005 Posted October 12, 2005 I am trying to map a network drive using a variable from an input box. ; Ask user for remote computer name $remotepc = InputBox("Remote Computer Name", "Enter Remote Computer Name", "") How do I pass the variable to the DriveMapAdd DriveMapAdd("X:", "\\$remotepc\c$") Thanks........John
Valuater Posted October 12, 2005 Posted October 12, 2005 maybe DriveMapAdd("X:", "\\" & $remotepc & "\c$") not tested 8)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now