Windows Vista Forums

vbscript error 70 - permission denied
  1. #1


    Daryll Combs Guest

    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

  2. #2


    Pegasus \(MVP\) Guest

    Re: vbscript error 70 - permission denied


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

    >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

vbscript error 70 - permission denied problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot restart print spooler error 5 permission denied tom2m2 General Discussion 34 10 Jan 2010
Script Problem - Permission denied error Mark Ivey VB Script 2 20 Dec 2008
Ran script once and it worked, now permission denied error...? £Jim VB Script 0 31 Oct 2008
Permission Denied in Vista with vbscript Rakesh VB Script 2 03 Jul 2008
Runtime Error Permission Denied JWB Vista General 0 25 Apr 2007