PowerShell context menu does not open folder correctly if folder name contains [ or ] characters.
RichardJFoster opened this issue · 0 comments
RichardJFoster commented
Verified against StExBar 1.11.0.1394
If a folder name contains [ and/or ] characters, the folder will not be opened and users will get a message saying Set-Location : Cannot find path 'C:\[Path]' because it does not exist.
.
To reproduce:
- Create a folder (e.g.
C:\[Path]
) - Attempt to open it.
For the folder to open correctly, the [
and ]
characters appear to need escaping with a backtick.
I appreciate this is an obscure corner case (what sane person uses square uses anything other than alphanumeric characters in directory names?!), but thought I'd mention it anyway.
The standard cmd
prompt operates as expected.