How to pass ID and password in lotus script

Hello,

I want to put a file on shared drive using lotus script using a ID and password which I have execute before connecting to shared drive. I am not sure how to pass ID and password in lotus script. Thanks for your time and help.

Thanks

Subject: Found a way to pass credentials to shared folder using script

I found a way to pass credentials to shared folder using lotus script.

Created a .bat file with the following command and execute the batch file using shell in lotus script.

net use : \ /user:

I could not find any way to pass credentials using lotus script. If anyone has better solution, please let me know

Thanks

Subject: Here is info

Look at the usr below on how to call windows dll to map drive with userid and password.

Subject: Thanks Barry for info. Will check this.