Sign in with
Sign up | Sign in
Your question
Closed

File Name Too Long

Last response: in Windows 7
Share
November 18, 2011 9:50:24 AM

Hi guys,

Please help. I can't copy paste, transfer my files due to the file name being too long. I'm using a Windows 7 32bit OS.

I've got a lot of files with apparently too long a name to transfer so I am hoping that there's a quick solution to my problem without needing to shorten the names of all my 3000 files

Please help! Thanks

Titan

More about : file long

a b $ Windows 7
November 18, 2011 9:59:38 AM

Probably some illegal character in the name.

You have to change the name.

The limit is actually a combined folder path plus file name.

So you may be able to bring the limit down by changing the folders to a shorter name.
Score
0

Best solution

a b $ Windows 7
November 18, 2011 11:53:08 AM

Pyree said:
Probably some illegal character in the name.

You have to change the name.

The limit is actually a combined folder path plus file name.

So you may be able to bring the limit down by changing the folders to a shorter name.

Its that ^^^ or u have too many folders in just one folder and remember all the folder names behind each other makes your error. Windows support only so many digits in the name and root of the folder.

Go a few folders inside and shorten the names of the long name of the folder and extremely long file names.
Share
Related resources
a c 209 $ Windows 7
November 18, 2011 3:12:18 PM

As suggested above, you need to either:

a) Shorten the names of your files,
b) Shorten the names of your folders, or
c) Move your files to a folder that's not so deeply nested.

So, for example, if you files are in a subfolder of a subfolder of a subfolder of a subfolder of a subfolder of a folder on the drive, move them so they're in a subfolder that's closer to the top folder level on the drive.
Score
0
November 18, 2011 3:55:46 PM

Good suggestions as above. So, if moving your files to higher level folders (like just inside of the root folder, for example) does not help, then you unfortunately really do have to rename the files. To do that to multiple files, I suggest an open source file renamer called Ant Renamer. Here's the link:

http://www.antp.be/software/renamer
Score
0
November 21, 2011 12:21:05 AM

Thank you guys, I'll try your suggestions and let you know.
Score
0
February 25, 2012 1:06:31 PM

What can I do if the file is in a .rar archive ?
Score
0
August 16, 2012 11:36:50 AM

aQ-Titan said:
Hi guys,

Please help. I can't copy paste, transfer my files due to the file name being too long. I'm using a Windows 7 32bit OS.

I've got a lot of files with apparently too long a name to transfer so I am hoping that there's a quick solution to my problem without needing to shorten the names of all my 3000 files

Please help! Thanks

Titan



The suggestion on antrenamer seems interesting, although haven't tried.

I solved this problem thanks to an anonymous post elsewhere, using the shareware totalcommander.

To ask to change file names is an absolutely useless suggestion - we're talking about thousands of files, and windows doesn't even give full filnename so hard to find them.
Score
0
September 28, 2012 8:44:53 AM

Long Path Tool helped me in this situation. http://PathTooDeep.com. it is the easiest and most convenient way to resolve the problem by yourself.
Score
0
October 11, 2012 9:33:47 PM

I dont even understand why this is still a problem with today's Operation Systems... you think we would have fixed this problem 10 years ago... This issue is a failure to appropriate proper care in advancing outdated solutions to new and improved ones.
Score
0
October 16, 2012 3:05:22 AM

TimKert said:
I have downloaded Long Path Tool and it helped me a lot
http://****



TimKert, you sack of S&%#!!! :fou:  :fou: 

The program TimKert posted created a loooong path name (when I tried the demonstration), then there was no way to delete, rename, or move it unless you buy the full program! :fou: 
Score
0
November 6, 2012 10:04:57 AM

aQ-Titan said:
Hi guys,

Please help. I can't copy paste, transfer my files due to the file name being too long. I'm using a Windows 7 32bit OS.

I've got a lot of files with apparently too long a name to transfer so I am hoping that there's a quick solution to my problem without needing to shorten the names of all my 3000 files

Please help! Thanks

Titan



Try RichCopy 4.0from Microsoft.

http://social.technet.microsoft.com/Forums/en-US/w7itpr...

Regards
Score
0
January 3, 2013 7:00:04 AM

TimKert_SackOfCrp said:
TimKert, you sack of S&%#!!! :fou:  :fou: 

The program TimKert posted created a loooong path name (when I tried the demonstration), then there was no way to delete, rename, or move it unless you buy the full program! :fou: 


Yeah, its a complete ****ing scam. Notice all the "posters" suggesting this only have one post to their name.
Score
0
January 5, 2013 7:10:19 PM

wimbledon said:
Yeah, its a complete ****ing scam. Notice all the "posters" suggesting this only have one post to their name.


Well, I may be new, but I have a way it can be done with GPL software compiled by Cygwin. Cigwin gives you Linux command line tools on Windows among other things. It did not install the directory with the command line programs into the path, at least for me anyway, so I'll give fully qualified paths in my example.

For my example I will use the path "D:\FolderWithBadFilenameDeepWithin". After you Google Cygwin, download it from their site and install (basic install options should do the trick) click the start button and type "cmd" into the search box. If you are not accustomed to a command line interface it should be a window with a black background with white text on it with a command prompt like "C:\Users\YourUserName>". Type in the following:

C:\cygwin\bin\bash.exe

The prompt changes here to something like the following:

YourUserName@YourComputerName /cygdrive/c/Users/YourUserName
$

You just switched from the DOS shell to the Bourne Again SHell. Now, please take a moment to be absolutely sure you are getting the path we will be using next correct.

THERE WILL BE NO UNDO!

Since I am targeting a directory as opposed to a file I have to remove data recursively with the "-r" option. I also don't want to hear any complaints while it does its job so I also force it with "-f". These can be side by side however as "-rf" or written as "-r -f", your choice. So again, in this example I am targeting a broken filename deeply nested under "D:\FolderWithBadFilenameDeepWithin". There is nothing in a subdirectory of that folder that I care about so the entire folder is going away. Last warning, check, re-check and check again. Make sure you have it correct for the "rm" command suffers no fool.

Note how paths always start with /cygdrive/ and are followed by the desired drive letter. I use both C:\ and D:\ in my example to hopefully make this obvious. We are using the rm.exe program found in the C:\cygwin\bin "folder" so the full path to the program becomes "/cygdrive/c/cygwin/bin/rm". Note how "D:\FolderWithBadFilenameDeepWithin" became "/cygdrive/d/FolderWithBadFilenameDeepWithin" as well. Do make sure you get this correct and be VERY careful not to hit the enter key after only having typed "/cygdrive/d/". Please make sure all keyboard obsessed cats are restrained whilst performing this fix! You will not be capable of recovery.

/cygdrive/c/cygwin/bin/rm -rf /cygdrive/d/FolderWithBadFilenameDeepWithin

Now use window's explorer to verify removal. Be sure to hit F5 if it didn't refresh itself. Your problem is now solved.

You may wish to keep Cygwin around if you use SSH to connect to a Unix server. If you install the X11 packages you can set you SSH client to do X11 forwarding. This allows you to run GUI applications on the remote machine, tunneled through ssh, encrypted and the GUI controls show up on your Windows UI. You will also find a ton of free software (as in free beer) that will never try to extort a penny from you. Donations to various organizations who maintain OSS/GPL/BSD License/Apache License/EFF.org/etc... are always appreciated of course.

It find great humor in the fact that software developed in the early 1970s is more powerful then anything that I could find in Windows 7 to resolve this issue. I suggest looking in to VirtualBox (free for personal use from Oracle) and Ubuntu Linux if you would like to delve more deeply into an operating system that, while somewhat more challenging, empowers the user to do anything they can dream up.

Take care,

Nexion

Score
0
January 24, 2013 1:21:33 PM

Why don't you try using the Long Path Tool? It would be a great help to you. You should check it out.
Score
0
February 1, 2013 8:55:15 AM

aQ-Titan said:
Hi guys,

Please help. I can't copy paste, transfer my files due to the file name being too long. I'm using a Windows 7 32bit OS.

I've got a lot of files with apparently too long a name to transfer so I am hoping that there's a quick solution to my problem without needing to shorten the names of all my 3000 files

Please help! Thanks

Titan


How big are those files?File systems like NTFS supports link files and directories and also allow naming conventions and rules like any other.
Have you tried to use Long Path Tool? I experienced this also and use it to solve that problem. I hope this would be of help. If not, try something else.
Good luck!
Score
0
March 17, 2013 7:43:24 PM

I only got this computer this year.
Score
0
March 17, 2013 8:18:33 PM

Just make a short name for the file and use letters and numbers only :) 
Score
0
!