Greetings All!
I'm trying to write a script that will map a network drive (XP PC) that requires a user name and password. I also want it to save the username and password. I tried the DriveMapAdd function but it doesn't save the username and password on reboot.
So right now I'm running this command which works up to a point:
Run ("net use b: \\10.100.100.225\g /savecred /persistent:yes")
After several seconds of starting to run this, there is a command line prompt to enter the user, then after entering that, another prompt to enter the password.
How do I script for AuotIt to wait for these prompts and enter the specified data accordingly?
Thanks!