-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ENV:CMDER_START has a double quote too much #1079
Comments
Is there progress? |
I wonder how that Finally what the registry path set to for "cmder here" either tell me from regedit or with PS;
|
I do use the portable version of Cmder, and always startup from my file manager "Directory Opus" with the /start argument.
|
Oh ok, so powershell just does this for you when you open it all the time (in cmder of course). I thought this must be from the "CMDER Here" context menu when your use cmder.exe /register So I'm looking at the task setting in conemu here, what's your |
λ $env:userprofile For a moment I was afraid it was my msitake, since I added |
Have you tried leaving them as |
This is what I copy to a new task:
And this error I get then:
|
Will you try |
No luck: didn't work either. |
Not too sure about this one then, @MartiUK Can the launcher in some way be passing in $ENV:CMDER_START string with an extra quote? |
The launcher sets CMDER_START to directory given as a |
Starting by doubleclicking cmder.exe "solves" the problem. |
If you have created a shortcut, check what you have put after |
Well, it was with Directory Opus. The command was:
After removing the quotes, it was OK. |
Are you ok now? Feel free to re-open. |
It is workable for me now, but it remains strange the cmd tab had no problems, nor did admin powershell, but the powershell did. So for me you can leave it closed. Thanks for all the help. |
In profile.ps1 file , Find Set-Location -Path "$ENV:CMDER_START" replace with Set-Location -Path $ENV:CMDER_START.replace("`"","") |
starting a powershell shell gives an error:
And
Starting powershell as Admin goes OK.
The text was updated successfully, but these errors were encountered: