file copy error - path is too deep

Discussion in 'Software' started by herenow, Feb 13, 2010.

Thread Status:
Not open for further replies.
  1. herenow

    herenow Private E-2

    Trying to copy files from my hard drive to a usb 4 gig flash drive.

    I have a home network setup running windows xp

    It seems that the flash drive is FAT32 format.

    My best guess is that the System filenames are too long.

    How can i check the whole system filename length?

    or

    How can I get around this problem.

    It seems Ubiquitous but I am yet to find an effective solution.
     
  2. DavidGP

    DavidGP MajorGeeks Forum Administrator - Grand Pooh-Bah Staff Member

    Hi

    NTFS can use long file names, you can disable it and here is instruction (basically this comes form Cause 4, Resolution 1 HERE which seems your issue)


    Also and this is a weird fix for this and transfering to USB, are you using the front ports or a USB hub? if so plug the USB pen into the back USB ports of your motherboard and try again.
     
  3. Noone

    Noone Private E-2

    how long is the path you are trying to copy TO? According to this article the Windows API is limited to 260 characters for a path. So if you are copying from "x:\really long path\in this file\that fits\ok\as\it\is in the api\big filename here that you wouldn't really want to change[...].blah" to someplace like your desktop which is at "c:\Documents and Settings\All Users\Desktop\Backup Files\From my USB Stick\Etc[...]\" the combined path length might be over 260 characters.

    The article also talks about using unc naming conventions and the \\?\ prefix on the filename to copy them and having an appoximate 32000 character limitation.

    try copying the files to the root folder on your hard drive and see if it's a communications issue, if they copy to that location then it really is a path to long error.

    I've also gotten around the path to long error before by using subst.exe to mount the destination folder as a drive and copying to that drive instead. to do so, from a command prompt type:

    subst.exe x: "c:\path that you want to copy everything to\"

    then you should have an x: drive appear in My Computer. copy to this drive as your destination and the path names given to the Windows API will be shorter.
     
    Last edited: Feb 13, 2010
  4. herenow

    herenow Private E-2

    Dear Halo - Thank you so much.

    Plugged the usb drive into the back usb ports.

    All copying proceeded with NO Problems.



    Now I can senf 4 gig of humorous songs to my daughter for her birthday !!!

    Woo Hoo !!!

    Thanks heaps

    PS

    I have seen this PATH IS TO DEEP discussed from 2005 to 2010 - with MANY long involved, INEFFECTIVE, solutions.

    Maybe this is the post that will "Set my people free".

    Well done !!!:p
     
  5. herenow

    herenow Private E-2

    Thanks for your advice.

    Seems the simple solution of

    moving the flash drive from the front usb ports to the BACK USB PORTS (which are connected directly to the motherboard) solves ALL the copy problems....

    amazing esp after trying 2-3 days of research and unsuccessful "fixes"







     
  6. herenow

    herenow Private E-2

    PATH IS TOO DEEP - SIMPLE EFFECTIVE SOLUTION - HERE NOW !!!


    The simple solution of

    moving the flash drive from the front usb ports to the BACK USB PORTS
    (which are connected directly to the motherboard)

    solves ALL the copy problems....


    amazing esp after trying 2-3 days of research and unsuccessful "fixes" from 2005 to 2010.


    Please excuse the evangelical double posting but I want to give this simple solution to what appears to be an intractable problem with lots of incorrect advice the widest possible coverage.




     
  7. DavidGP

    DavidGP MajorGeeks Forum Administrator - Grand Pooh-Bah Staff Member

    Hi

    Glad that worked and you managed to transfer the files, only reason I posted it and some would look at that suggestion and go "he must be mad" but come across it quite a few times personally and that solution tends to work in most cases.

    No idea why the back USB ports would be better, apart from likelyhood is that the main controller is better than the add on ones, or its a USB power issue on the front add-on usb ports, should make a difference in reality.

    But a working solution is always good not matter how nuts it sounds :)
     
  8. herenow

    herenow Private E-2



    Thanks so much for this

    i am amazed at how prevalent the queries are about this and how crappy the solutions are

    yours was simple and effective.:)



     
  9. DavidGP

    DavidGP MajorGeeks Forum Administrator - Grand Pooh-Bah Staff Member

    Hi

    At times Occams Razor come into play, "entia non sunt multiplicanda praeter" necessitatem or in english "entities must not be multiplied beyond necessity" or basic still and more common reference to this is "the simple answer is normally the better".
     
  10. Drizzles

    Drizzles First Sergeant

    I thought youd gone nuts for a sec to there Halo :p ... any idea why that happens?
     
Thread Status:
Not open for further replies.

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds