dimes1827 Posted November 3, 2005 Report Posted November 3, 2005 Help needed pls.. how do we access network passwords with labview?? because when a network server has a password requiremnt, like these, i cant use the FILE vi's like the LIST,NEW etc.. what do i need to do to pre-program the network access? thanks! Quote
Jim Kring Posted November 3, 2005 Report Posted November 3, 2005 Help needed pls..how do we access network passwords with labview?? because when a network server has a password requiremnt, like these, i cant use the FILE vi's like the LIST,NEW etc.. what do i need to do to pre-program the network access? thanks! You can use the NET USE command, using System Exec to execute the command line. C:\WINDOWS\system32>net use /? The syntax of this command is: NET USE [devicename | *][\\computername\sharename[\volume] [password | *]] [/uSER:[domainname\]username] [/uSER:[dotted domain name\]username] [/uSER:[username@dotted domain name] [/sMARTCARD] [/sAVECRED] [[/DELETE] | [/PERSISTENT:{YES | NO}]] NET USE {devicename | *} [password | *] /HOME NET USE [/PERSISTENT:{YES | NO}] Quote
dimes1827 Posted November 3, 2005 Author Report Posted November 3, 2005 You can use the NET USE command, using System Exec to execute the command line. Thanks! i did it.. like this n the command line of system Exec NET USE \\COMPUTERNAME /USER:DOMAINNAME\USERNAME then iterated the system exec with the Password input text to its commandline Quote
Jim Kring Posted November 4, 2005 Report Posted November 4, 2005 Thanks! i did it.. like this n the command line of system ExecNET USE \\COMPUTERNAME /USER:DOMAINNAME\USERNAME then iterated the system exec with the Password input text to its commandline Great :thumbup: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.