Sign in to follow this  
Followers 0
jpalmerb

_Winnet_addconnection2 error

2 posts in this topic

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!

Share this post


Link to post
Share on other sites



Hi,

you are not following the help file correctly. Try:

_WinNet_AddConnection2 ("Z:", "\\mavts003\software$", "d\username", "password+")

;-))

Stefan

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0