Gajus - Fotolia

Q
Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

What's the best way to delete a file or folder whose Windows path is too long?

In addition to Copy as Path, the third-party Long Path Tool might be helpful for deleting a file or folder whose Windows path is too long.

If you've tried to delete a file or folder, but Windows has said that the path or file name is too long, there is a still a way to delete it. However, using Copy as Path and pasting into a command-line delete function may not work because the files are created by Fbackup on a network-attached drive.

Try moving that file to a folder that's closer to the top folder level of the drive, such as D:\, or even to your desktop. Then attempt to delete the file from that location.

In addition, Microsoft Support offers many different approaches to deleting files with excessively long file names or paths. The article was written for Windows XP and previous versions, but it's still a relevant guide for troubleshooting files with long paths or file names, which is a common enough problem.

However, you may not have time to try each method, or the problem could be that many files or folders are affected and performing some operation on each one would be far too time-consuming. In that case, you should consider acquiring a third-party utility to delete (or move or copy) several files or folders at once.

Long Path Tool is perhaps the most popular solution. The utility works on nearly every version of Windows, from Windows 95 through Windows 8 and Windows Server 2012. Long Path Tool can delete files from mapped network folders, and it can deal with long paths that exceed 200 characters.

You'll need to purchase a subscription to the software; the free downloadable version doesn't include the specific features you need for deleting files.

Next Steps

Built-in tools simplify Windows 7 troubleshooting

The lack of legacy Windows support doesn't concern some IT managers

Top 10 features from Windows 7 not found in Windows 8

Finding the top Windows 7 command-line utilities

This was last published in October 2014

Dig Deeper on Microsoft Windows 8 operating system

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

5 comments

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

Have you used Long Path Tool or other Windows path utilities?
Cancel
Never had the need to use a tool for this, just map a drive further in the path to operate on the files.
Cancel
7-Zip File Manager works perfectly for deleting files whose names/paths are too long, doesn't cost a dime, and works on Windows 98 and newer.
Cancel
Thanks for the tip!
Cancel
7-Zip File Manager works perfectly for deleting files whose names/paths are too long, doesn't cost a dime, and works on Windows 98 and newer.
Cancel

-ADS BY GOOGLE

SearchVirtualDesktop

SearchWindowsServer

SearchExchange

Close