Technobezz

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.

 

 

More on this topic

Leave a Reply

20 Comments

  1. Garry Gahan September 18, 2018
  2. Kirk Smith August 8, 2018
  3. David Galler July 5, 2018
  4. Kevin Prack July 4, 2018
  5. John Korpas July 3, 2018
  6. Richard Brock July 3, 2018
  7. Ross Gram May 8, 2018
  8. Ross Gram May 8, 2018
  9. Ross Gram May 8, 2018
  10. Jurgen Parker March 15, 2018
  11. Fred Smith January 18, 2018
  12. Fred Smith January 16, 2018
  13. Andrew Thiel January 11, 2018
  14. Hillery November 20, 2017
  15. Yasir September 15, 2017
  16. EricClarcks August 19, 2017
  17. Corey Lean August 18, 2017
  18. Ashley100 June 16, 2017
  19. Ashley100 June 16, 2017
  20. BeloSol October 1, 2015
Borderlands 3
Borderlands 3: News, Rumors and Release Date
Want to buy one of the best Chromebooks under $300? See these
The Last Of Us Part II
The Last Of Us Part II Release Date 2019: Rumors And News
Here are some of the best gaming monitors under $150
Android Apple Gaming How To Internet iPhone Personal Computers Review Site review The Top Best
Borderlands 3
Borderlands 3: News, Rumors and Release Date

The rumors about the release of Borderlands 3 have been around...

Want to buy one of the best Chromebooks under $300? See these

A Chromebook is a specific type of laptop with just one...

Best Food Delivery Apps For iPhone
Best Food Delivery Apps For iPhone

Gone are the days when we called a restaurant to order...