How to Fix the “Path Too Long” Error on Windows

We show you the easiest way first

Do youget a “Path Too Long” errorwhile extracting a ZIP archive on your Microsoft Windows 10 or Windows 11 PC? You may have exceeded the maximum character limit allowed for your folders and files. We’ll show you how to fix that as well as other underlying items to resolve your problem.

Some reasons Windows displays the above error are that your ZIP’s file name is too long, your parent folder has a lengthy name,your ZIP itself has a problem, and File Explorer is acting up.

Rename Your ZIP File

The easiest way to fix Windows’ “Path Too Long” error is byrenaming your ZIP file. If your ZIP file has a lengthy name, shortening the name will allow you to bypass the above error.

Renaming your file doesn’t change the contents within.

Rename Your Parent Folder to Shorten the File Path

If your ZIP file’s parent folder has a lengthy name, that may be why you’re getting a “Path Too Long” error. In this case,shorten your folder’s name, and your issue will be resolved.

The reason this method works is that shortening your folder name ensures you’re well within Windows’ allowed character limit for your folders and files.

Extract Your ZIP in Your Drive’s Root Folder

Another way to ensure you’re well within the allowed character limit for directories is by extracting your ZIP’s contents in your drive’s root folder. This way, you won’t have any subdirectories, preventing Windows from displaying the “Path Too Long” error.

Turn On Long Paths on Windows

Windows allows you to have up to 260 characters in your paths by default. The system will display a “Path Too Long” if you exceed this limit. Luckily, you can increase this limit on your system by toggling on an option in Registry Editor or Local Group Policy Editor.

You should enable long paths on your Windows PC if you often work with files that exceed the default limit.

If you’re aWindows Home edition user, use this Registry Editor method to enable long paths on your PC. Windows Pro edition users can also use this method, butthe Local Group Policy Editormethod below will be easier for you.

Extract Your ZIP Using Command Prompt or PowerShell

If you still get a “Path Too Long” error, try using Command Prompt or PowerShell toextract your archive’s contents. These utilities unarchive your archives the same way File Explorer does.

The command will extract your files in the same folder as the ZIP file.

Fix Windows File Explorer to Resolve Long Error

If you still can’t extract your ZIP archive and get a “Path Too Long” error,your File Explorer utility may be faulty. In this case, you can use your system’s built-in SFC (System File Checker) tool to try to fix your file manager.

Troubleshooting the Path Error on Windows PCs

There are multiple ways to get around Windows’ “Path Too Long” error and extractyour archivessuccessfully. You can try to keep your file names’ under the allowed limit, or you can expand the default path limit to bypass the error.

Either way, your issue will be fixed, and you’ll be able to extract your files without any problems.

Mahesh has been obsessed with technology since he got his first gadget a decade or so ago. Over the last few years, he’s written a number of tech articles on various online publications including but not limited to MakeTechEasier and Android AppStorm.Read Mahesh’s Full Bio

Leave a Reply

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

Comment*

Name*

Email*

Website

Welcome to Help Desk Geek- a blog full of tech tips from trusted tech experts. We have thousands of articles and guides to help you troubleshoot any issue. Our articles have been read over 150 million times since we launched in 2008.

HomeAbout UsEditorial StandardsContact UsTerms of Use

Copyright © 2008-2024 Help Desk Geek.com, LLC All Rights Reserved