# Error message while copying files

**URL:** <https://forum.4specs.com/t/error-message-while-copying-files/1661>\
**Category:** Computers, the Internet and Networking\
**Created:** [February 18, 2011, 12:48am UTC](https://forum.4specs.com/t/error-message-while-copying-files/1661 "2011-02-18T00:48:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Axt](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.4specs.com/david_axt/32/24_2.png) [@David\_Axt](https://forum.4specs.com/u/David_Axt)\
**Post date:** [February 18, 2011, 12:48am UTC](https://forum.4specs.com/t/error-message-while-copying-files/1661/1 "2011-02-18T00:48:38Z")

</div>

I am trying to download a large amount of files from a flash drive to the hard drive on my computer. Unfortunately I get a message during the download that the file name is too long and it stops downloading. Any ideas on how to copy the whole flash drive?

---

<div class="post-metadata">

**Author:** ![tsugaguy](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.4specs.com/tsugaguy/32/214_2.png) [@tsugaguy](https://forum.4specs.com/u/tsugaguy)\
**Post date:** [February 18, 2011, 2:54am UTC](https://forum.4specs.com/t/error-message-while-copying-files/1661/2 "2011-02-18T02:54:52Z")

</div>

copy to a path that is very short, like c:\1 or something like that, and see if that helps. if you have very long filenames or long complex path names in the files you are copying, and try to copy to an even longer path on your computer, it can exceed the maximum total length of path + filename. if you absolutely have to copy to a longer path name on your computer, there’s a workaround for that by assigning a drive letter to that folder. you might have to set up a shared network folder first, even if you don’t need a network folder, so you can make a UNC path in the map network drive dialog. then you aren’t hindered by long filenames anyore. for security you could remove the folder sharing when you are done.

---

<div class="post-metadata">

**Author:** ![jpjordan](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jpjordan](https://forum.4specs.com/u/jpjordan)\
**Post date:** [February 18, 2011, 4:14pm UTC](https://forum.4specs.com/t/error-message-while-copying-files/1661/3 "2011-02-18T16:14:22Z")

</div>

You might try editing the folder names on the flash drive which will resort in a shorter pathname.

Filename is the “local file” name; the name of the file in a particular folder.

Pathname contains not only the filename but the drive name and the names of all folders that contain that particular file. I seem to remember a bit of trivia that limits the pathname to 256 characters. That would seem to be reasonable with earlier versions of Windows. I would be surprised if that limit still exists on current versions of windows.
