Hey everyone I am currently trying to make an autoit script that asks for a username and password before it maps the drive..
$user = InputBox("I did this.", "Please enter in your username.")
$password = InputBox("And this.", "Please enter in your password.")
DriveMapAdd("Z:", "\\FILESERVER\$user", 0, "$user", "$password")
It looks like it would work but for some reason it isnt. Anyone have an idea why?