eza-community/eza

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

Open

#404 opened on Sep 21, 2023

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Rust (21,783 stars) (439 forks)batch import
errorserrors › runtime errorgood first issueos › windows

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