buddivictory Posted January 23, 2004 Posted January 23, 2004 How can I execute a net use command with AutoIt 3. In Autoit version 2 I would type: Run, %COMSPEC% /c net use z: \\\\servername\\sharedfolderPlease advise. Thanks
Administrators Jon Posted January 23, 2004 Administrators Posted January 23, 2004 RunWait(@Comspec & '/c net use z: \\servername\sharedfolder')
redndahead Posted January 23, 2004 Posted January 23, 2004 Unless you have spaces then it's RunWait(@comspec & 'net use "\\Severname\Share Folder"') Notice that after share folder it is a quotation mark " then an apostrophe ' red
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