How to Fix File Path Too Long Error in Windows 7/8

Have you tried working on your Windows computer when suddenly an error pops during copying files? Some errors you encounter might say “File name(s) would be too long for the destination folder. You can shorten the file or try a destination that has a shorter path. “Or “the file name is too long” or “The source file name(s) are larger than is supported by the file system. Try moving to a location which has a shorter name, or you can change it to a shorter name(s) before attempting this operation.” Well, these error messages are really annoying especially if you are in a rush of something. Somehow, fixing the error could be done by renaming folders. That’s it – you only have to rename one to five folders. But, if the error needs you to rename 200 or more folders, it is going to be tedious. To help you get rid of the problem, below are ideas and solutions on how to fix file path too long error in Windows.

See also: HOW TO FIX ERROR 651 IN WINDOWS 8

Before you move on to the solutions, it is important to know first what causes the problem. Basically, there is a character limit set in naming or renaming files in your Windows operating system. The limit is usually 250 to 260 characters only for naming the file as well as the path names. Thus, when you transfer files with long names from one destination to another, you will experience this path too long error in Windows system.

Solutions in fixing path too long error in your Windows computer:

Destination path too long error

Solutions 1

If you are transferring files in few folders only, renaming files/folders is a great way to solve the problem. Rename files and folder paths not exceeding file naming limit, which means, you have to rename files and folders within 250 to 260 characters only. After renaming, you can copy and transfer files without experiencing errors.

 

Solution 2

If you are not able to rename the folders, create a temporary virtual drive in My Computer. To do it, create a backup and restore point first before you proceed with the following steps:

  • Go to Start menu >type “cmd” and press enter.
  • For instance, you will create a virtual drive X and you want to rename the folder ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789, in the Command Prompt window, type the following script:

Related –HOW TO FIX BLUE SCREEN ERROR IN WINDOWS 7 (DEATH) 2014

Subst X: “C:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789”,

Where,

subst = substitute command

X = a drive letter you chose to name the virtual drive

C:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789 = the file path you want to rename

After, running the script, it will automatically create the folder with a single letter name. You can then go to My Computer > Locate the drive and copy files from it.  After copying files, remove the virtual drive you created earlier. Use the script below:

Subst X: /d

If you find it hard to solve the problem manually, you may download Long Path Tool software to help you get rid of path too long error in windows 7. The software allows a user to copy, transfer and delete long path file names in a fast and easy manner. There are many software available for download online. You can do your own search and select your best choice.

 

 

Total
0
Shares
24 comments
  1. Hi, for problems concerning path too long issues, I suggest you to try the new long path tool. This can help you with all kinds of path too long cases,

  2. I suggest you try Long path tool is the very good program for error, unlock solution.
    Try it and solve your problem.
    I used long path tool and I solve my error, unlock problem solution.

  3. You can use longpathtool program to solved this issue. this tool is very useful to solved this issue.

  4. I would like to suggest you, try LongPathTool program to resolve this issue. This tool is very helpful to resolve the issue.

  5. You can use longpathtool program to solved this issue. this tool is very useful to solved this issue.

  6. I have this problem and solved it by using winrar. Open your folder in winrar and you can rename it to whatever name you want and than all options for copying, deleting, etc will work.

  7. There are not many ways to solve this problem in windows. Tweaking with windows registry is one possible solution but it works for some and not for others. You can try GS Richcopy 360, I am also using it and it has helped me solve this problem. I provides many other features also. It never hangs and is industry level software. Give it a try, maybe it can help you too!

  8. Boot into a free GNU-Linux distro, locate the file in file manager, left-click, Delete with held down, to avoid activating the Trash Can. Tried it once with an installed OS, it worked, imagine it would work repeatedly. Reboot, and you’re back in Windows — with your problem fixed, and with no changes to your Windows installation.

    The need to do this type of a deletion is so occasional, that having to leave Windows for a few moments really isn’t that big of a deal. But if you’ve set-up a multi-boot — the boot is faster and you can just exit Windows and go directly into Linux. That’s how I did it, but would expect the a Live DVD works just as well, if a bit slower.

    Some of the other functions of the utility mentioned here seem to duplicate those of Unlocker — specific for MS Windows, not Linux. You probably wouldn’t need it in Linux, anyway — because whatever’s locking the file wouldn’t be running.

    I did this with Linux Mint running the KDE desktop environment — but the other choices should be very close, for something as basic as a file deletion. For speed, booting into a USB drive is faster than the optical drive.

Leave a Reply

Your email address will not be published. Required fields are marked *