Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

How to copy a file from a share folder with credentials, WITHOUT mapping a drive?

$
0
0
Hi,

I'm currently mapping the share folder to a J: drive in a batch file which calls then VBScript. Then FileSystemObject.CopyFile from a subfolder on that J: drive.

But I'd like to skip the mapping to a J: drive, is possible. Is there some way to copy a file using the full share folder specification with a user id and password, without mapping to an explicit drive first?

Viewing all articles
Browse latest Browse all 688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>