Windows Vista Forums

Error copying files

  1. #1


    JeffH Guest

    Error copying files

    Hi,

    I have a backup script that is used to backup files in folders that have 150
    + characters in the pathname. Is there a way that I can avoid the error "
    Cannot copy file: The filename you specified is invalid or too long. Specify
    a different filename."

    I searched the internet and the only solution I found was to create a
    shorter filename and path. I was hoping that there is another solution.

    Thanks in advance,
    JeffH

      My System SpecsSystem Spec

  2.   


  3. #2


    mr_unreliable Guest

    Re: Error copying files

    JeffH wrote:

    > I have a backup script that is used to backup files in folders that have 150
    > + characters in the pathname. Is there a way that I can avoid the error "
    > Cannot copy file: The filename you specified is invalid or too long.
    hi Jeff,

    In situations where your file path+name really is too long,
    you can sometimes get away with using the "ShortPath" property.
    The ShortPath property applies to either file or folder objects.

    You can read all about it in the scripting docs.

    cheers, jw
    ____________________________________________________________

    You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
    the answers will be applicable to the questions)

      My System SpecsSystem Spec


Error copying files
Similar Threads
Thread Forum
Error 0x800703EE and 0x8007045D, Error when copying files General Discussion
Error copying files around 45%. Vista hardware & devices
error when copying files Vista installation & setup
error while copying files Vista installation & setup
An error occurred while copying Setup files. Error code is [800702 Vista General