title: Connect to shared folder with username and password and copy files to that folder
body: <p>I wanted to connect to a shared folder with user name and a password. After the connection is successful copy files to destination folder.</p>
  
  <p>I know using "net use" command a shared folder can be mapped to a drive and after that I can use, I do not wanted to do that.</p>
  
  <p>I am doing this to create a script to deployment a dotnet web application.</p>
  
  <p>Any kind of help is highly appreciated.</p>
  
  <p>Note: powershell is not available in that server.</p>
  
  <p>Thanks</p>