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. #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
Copying EML files to CD - properties error
If I try to copy Windows Mail messages (in .EML format) to CD, I get a message telling me that certain properties cannot be copied - do I wish to...
Vista file management
Error When Moving or Copying Files
Vista Home Premium When I move or copy a file(s) I get the error message: Windows Host Process (Rundll32) has stopped working - sometimes several...
Vista file management
Error 0x800703EE and 0x8007045D, Error when copying files
I was trying to move some files from my C: drive to a micro SD (with an SD adapter into the card slots of the computer) and first the Error...
General Discussion
Error copying files around 45%.
I uninstalled the two programs Vista told me to (Norton and Nero), rebooted, and ran the installer. Everything worked fine until it got to about...
Vista hardware & devices
error when copying files
During the start of the installation, when copying windows files it shows an error saying... "An error occured while copying setup files onto your...
Vista installation & setup
error while copying files
During the start of the installation, when copying windows files it shows an error saying... "An error occured while copying setup files onto your...
Vista installation & setup
An error occurred while copying Setup files. Error code is [800702
Well, I tried copying the setup files to a new folder in my desktop and run the installation from there. It made no difference. At about 52% of...
Vista General