Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - vbscript error 70 - permission denied

Reply
 
Old 06-24-2008   #1 (permalink)
Daryll Combs


 
 

vbscript error 70 - permission denied

I am new to VBScripting but have done some development in VBA. I have a
procedure that I have written to run on Windows-XP systems connected to
Windows-2000 server. Whole point of script is to do some intelligent file
copying with msgboxes to user to confirm intentions, file sizes, dates,
times, etc. All works well EXCEPT for the actual file copy. Even though I can
access mapped shares on server and other users local hard disk published
shares from command prompt and list contents and copy files at wiil, the
copyfile operation in the script invariably fails with error 70. What is the
point of having a copyfile operation, which I have used with great success in
vba, that basically is unable to copy files in code. Any suggestions from
anyone would be greatly appreciated, as I am greatly frustrated.
--
W. Daryll Combs
Jennica Data Systems Inc.
Cincinnati OH

My System SpecsSystem Spec
Old 06-24-2008   #2 (permalink)
Pegasus \(MVP\)


 
 

Re: vbscript error 70 - permission denied


"Daryll Combs" <wdcombs@xxxxxx/us> wrote in message
news:07D67AE3-5E6B-4279-AD9D-99BE67900349@xxxxxx
Quote:

>I am new to VBScripting but have done some development in VBA. I have a
> procedure that I have written to run on Windows-XP systems connected to
> Windows-2000 server. Whole point of script is to do some intelligent file
> copying with msgboxes to user to confirm intentions, file sizes, dates,
> times, etc. All works well EXCEPT for the actual file copy. Even though I
> can
> access mapped shares on server and other users local hard disk published
> shares from command prompt and list contents and copy files at wiil, the
> copyfile operation in the script invariably fails with error 70. What is
> the
> point of having a copyfile operation, which I have used with great success
> in
> vba, that basically is unable to copy files in code. Any suggestions from
> anyone would be greatly appreciated, as I am greatly frustrated.
> --
> W. Daryll Combs
> Jennica Data Systems Inc.
> Cincinnati OH
The CopyFile method works very well when properly implemented.
You need to post your code so that someone can point out where
you when wrong.


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
cannot restart print spooler error 5 permission denied General Discussion
Script Problem - Permission denied error VB Script
Ran script once and it worked, now permission denied error...? VB Script
Permission Denied in Vista with vbscript VB Script
Runtime Error Permission Denied Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46