eza-community / eza-community/eza
bug: Windows OS error 123 when passing a path spec with long file names to eza in PowerShell
- Dominant language
- Rust
- Stars
- 23.3k
- Forks
- 523
- PR merge metrics
- No merged PRs in 30d
Description
- The version of eza being used (`eza --version`)
v0.13.0 and `main`
- The command-line arguments you are using
`.\eza\target\debug\eza.exe 'C:\Program Files\'`
- Your operating system and hardware platform
Windows 11
Running the above command gives
`"C:\\Program Files\"": The filename, directory name, or volume label syntax is incorrect. (os error 123)`
Running `.\eza\target\debug\eza.exe 'C:\Progra~1'` works
Contributor guide
Research direction
Start by reproducing the reported command with `eza.exe` on Windows 11, comparing `C:\Program Files\` with `C:\Progra~1`. Trace the eza entry point and Windows path handling used for this argument. Done means the long path form works without OS error 123 while existing path behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100