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

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 690

Trending Articles