Windows can refuse to rename, move or delete a file when its name is too long. You will use 7-Zip or WinRAR to rename the file from inside the archive tool, then move or delete it normally. This suits any Windows 10 or 11 user stuck with an overlong filename.
YouTube video: Rename or Delete Files with Long Name in Windows | Fix Unable to Rename or Delete File
Captions are available. Use CC in the YouTube player.
- Video length
- 1 min 22 s
- Time to do it
- 5 minutes
- Difficulty
- Easy
- Steps
- 6
What you need
Steps
Install 7-Zip or WinRAR if you do not have either one yet. Both are free tools that can open and rename files Windows Explorer refuses to touch.
Open 7-Zip File Manager or WinRAR and browse to the folder that holds the problem file.
Select the file with the long name inside the tool's file list.
Use the rename command in the tool, such as the Rename button or F2, and type a shorter name.
Confirm the rename. The file now has a short name that Windows Explorer accepts.
Close the tool, then move or delete the file in File Explorer as usual.
Tips and common mistakes
Keep the new name under the classic 260-character path limit to avoid the same error again.
Rename the file before trying to move it to another drive, since long names often block copying too.
If the file sits deep in nested folders, shortening a parent folder name also helps.
Questions
Why can't I rename or delete the file in File Explorer?
The full path, including folders and the filename, is longer than Windows allows. Explorer then blocks rename, move and delete actions.
Do I need both 7-Zip and WinRAR?
No. Either one works. Install whichever you prefer and use its rename option.
Will renaming the file change its contents?
No. Only the name changes, so the file opens exactly as before.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


