Needed VBScript to append username and password
Hi All,
I wrote VBScript for copying a file from server to local machine but it failed because while connecting to server it asked for username and password,is it possible to add username and password with vbscript itself?
I wrote VBScript for copying a file from server to local machine but it failed because while connecting to server it asked for username and password,is it possible to add username and password with vbscript itself?
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
AngelD
16 years ago
You can use the MapNetworkDrive method
http://msdn.microsoft.com/en-us/library/8kst88h6(VS.85).aspx
http://msdn.microsoft.com/en-us/library/8kst88h6(VS.85).aspx
Posted by:
anonymous_9363
16 years ago
ORIGINAL: AngelD...bearing in mind, of course, that that will mean the availability of a plain-text script containing complete account details to whoever has read access to the script's location. I would advise adding some kind of encryption/decryption function to your script.
You can use the MapNetworkDrive method
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.