pgr Posted September 26, 2005 Share Posted September 26, 2005 Hi! I am pretty new to AutoIT and need some help with something I tried to realize with it... My intention is to write a Script that uses the net use command of windows to connect a share... i saw the impressive encryption sample gui and planned to use some encryption functions in my script. When finished it sould look like that: net use X: \\server\share /USER:username /PASSWORD:encrypted_password But i got a hanging Script without even touching the encryption stuff net use X: \\server\share I tried it by using the RunWait command, but the Script simply hangs... RunWait(@ComSpec & " /c " & 'net use X: \\server\share', "", @SW_HIDE) Any suggestions? Thx in Advance pgr Link to comment Share on other sites More sharing options...
this-is-me Posted September 26, 2005 Share Posted September 26, 2005 Try the beta:DriveMapAdd( "device", "remote share" [, flags [, "user" [, "password"]]] ) Who else would I be? Link to comment Share on other sites More sharing options...
pgr Posted September 26, 2005 Author Share Posted September 26, 2005 Try the beta:Thanks for the hint, I´ll give this a try pgr Link to comment Share on other sites More sharing options...
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