jpalmerb Posted April 21, 2010 Posted April 21, 2010 Hi All, I don't understand why this isn't working. I am following the help file, but am doing something wrong... Can somebody please help me out? _WinNet_AddConnection2 ("Z:\", "\\mavts003\software$", $sUserName = d\username, $sPassword = password+, 2) FileCopy ("Z:\software\setacl\setacl.exe", "C:\") FileCopy ("Z:\Software\ETH\ETH_Fonts\TRUETYPE\*.*", "C:\windows\fonts\", 1) I get the message that there is a problem with the _winNet_addconnection2. Missing separator character after keyword. thanks!
99ojo Posted April 21, 2010 Posted April 21, 2010 Hi, you are not following the help file correctly. Try: _WinNet_AddConnection2 ("Z:", "\\mavts003\software$", "d\username", "password+") ;-)) Stefan
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