Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Windows Explorer Context Menu Integration not working for folder with square brackets in its name #1374
When using the shell integration feature to open ConEmu in a directory that happens to contain "[" or "]" in its name, the shell won't open in the folder and will either default to "C:\Windows\System32\WindowsPowerShell\v1.0" or "C:". I think this might be related to these characters being used by PowerShell for wildcards. Let's say you open PowerShell in the parent directory and try to
Steps to reproduce
ConEmu opens PowerShell in "C:\Windows\System32\WindowsPowerShell\v1.0"
ConEmu opens PowerShell in "C:\T[e]st"
Thanks for looking into it, would love to see it fixed. I hope this isn't a third party problem.
Yes, I did check it with a folder without brackets, I use the Windows Explorer Context Menu Integration feature all the time. I happened to use it with a folder with brackets today and was surprised that it didn't work. I use default tasks from when you install ConEmu, didn't change anything.
…e folder, if starting task has `/dir %CD%` in the task parameters.