eza-community / eza-community/eza

bug: Windows OS error 123 when passing a path spec with long file names to eza in PowerShell

Open
#404 5 comments 0 reactions 0 assignees View on GitHub
area: arguments good first issue os: windows type: bug
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.