Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CopyFile as user, possible?

Status
Not open for further replies.

Crowley16

Technical User
Jan 21, 2004
6,931
GB
I've got a script which is run as part of a dts package, however when the dts package is run, it doesn't get run with the right user account, so the script fails.

is there a way to specify the user account to use when you use the CopyFile method in FileSystemObject?

Thanks

--------------------
Procrastinate Now!
 
k, thanks, I'll stop looking...

--------------------
Procrastinate Now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top