Skip to content
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

Context Menu Error #2506

Closed
ghost opened this issue Mar 20, 2021 · 5 comments
Closed

Context Menu Error #2506

ghost opened this issue Mar 20, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 20, 2021

Hey,

I added Cmder to my ENV Variables (as given in the wiki) and I followed this wiki to add the Open Cmder Here to my context menu. But, whenever I click on Open Cmder Here in the Windows Explorer, it opens in the default %USERPROFILE% and not in the current directory, or otherwise, throws this error

image

Registry Picture
image

Env Vars
image
image
image

I also did the ./Cmder.exe /REGISTER ALL Command in my Cmder Folder.

Thank you

@daxgames
Copy link
Member

What are the contents of the Cmder startup task?

@ghost
Copy link
Author

ghost commented Mar 20, 2021

image
These are the contents of my Cmder Startup Task. The ConEmu.xml file given in the picture is also linked here

@daxgames
Copy link
Member

daxgames commented Mar 26, 2021

That is the tasks page not the startup task.

Click Startup in the menu on the left then come back here and click the named task in the Predefined Tasks (Command Groups) pane. Mine looks like this:

image

All you really need to do to setup context menu integration is cmder register /USER. I believe the wiki predates this functionality existing. I would undo anything the wiki told you to do and simply issue the command as documented in the REAMDE.md

I just verified all works fine with Cmder 1.3.18 for both Drives and Folders in Windows Explorer after doing a cmder register /USER with the above task config.

Also: cmder register /ALL only works if you are running the command with Administrator rights.

@ghost
Copy link
Author

ghost commented Mar 26, 2021

Hey there,

I undid everything as per said, and ensured that I was back to square A. Then, I ran the command given in the README, (for one user) and it worked!!

Also, is there a way I can get Cmder as my default shell in Win Key + X?

Thanks

@DRSDavidSoft
Copy link
Contributor

If you're on Windows 11 (and using Windows Terminal instead of ConEmu), the best method is this:
#2650 (comment)

Here are more information in order to set it up:
https://github.com/cmderdev/cmder/wiki/Seamless-Windows-Terminal-Integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants