windowsterminal-shell icon indicating copy to clipboard operation
windowsterminal-shell copied to clipboard

Terminal does not open in correct folder when folder name contains brackets

Open chronoDave opened this issue 4 years ago • 2 comments

When using the context menu, Windows Terminal here will default to C:\WINDOWS\System32\WindowsPowerShell\v1.0 if the folder names contains [].

Steps to reproduce:

  • Install Windows Terminal via Microsoft Store
  • Use install script with mini parameter
  • Create new folder called []
  • Open folder
  • Shift + click in Windows Explorer and select Windows Terminal here

Expected:

  • Opens terminal in current folder

Result:

  • Opens terminal in C:\WINDOWS\System32\WindowsPowerShell\v1.0

chronoDave avatar Sep 26 '20 12:09 chronoDave

I have the same issue, apparently only happens with the Windows Powershell

cacafuti8888 avatar Jan 29 '21 22:01 cacafuti8888

Still an issue here and it bothers me as I have a bunch of those folders for organization

nate-moo avatar Feb 25 '22 00:02 nate-moo