The environment is Windows Web Server 2008, and I\'m just trying to copy a folder full of files to a network location (a managed backup network folder). Here is my .bat file
You can also map the share to a local drive as follows:
net use X: "\\servername\share" /user:morgan password
Try using the net use
command in your script to map the share first, because you can provide it credentials. Then, your copy command should use those credentials.
net use \\<network-location>\<some-share>\ password /USER:username