LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Username informaion in UNC

I am trying to create a file on a network share using the UNC path;

\\Computer\Share

Login information is required to access this share.  I can make it work by storing the password in windows, but I would rather store the login information in the VI.

Is there a way to store the username & password inside the VI, or do I have to do this in windows?

Thank you

0 Kudos
Message 1 of 2
(2,397 Views)
You could use the command "net share"  to connect and disconnect the network share. The login name and password are parameters of the command.

System exec.vi can be used to call the command.

Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 2
(2,390 Views)