dduan / tre

Tree command, improved.
MIT License
732 stars 15 forks source link

Breaks when there is a `:` in a filename in pwsh #124

Open brian6932 opened 1 year ago

brian6932 commented 1 year ago

Rather, pwsh converts : to ;, which translates to a termination when executed with pwsh, and reads everything following it, instead of the actual filename, then spits out this error:

filename: foo 1:1.png

Error: doskey /exename=pwsh.exe e114=Start-Process .\foo 1;1.png The term '1.png' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.