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

Question: Alias with admin permission #2923

Open
2 tasks done
leuchte opened this issue Feb 28, 2024 · 0 comments
Open
2 tasks done

Question: Alias with admin permission #2923

leuchte opened this issue Feb 28, 2024 · 0 comments

Comments

@leuchte
Copy link

leuchte commented Feb 28, 2024

Question

Hello,

until recently I had an older CMDER version installed (unfortunately I don't know which version). There I had defined some aliases that no longer work in the current version. In particular, alias that uses ConEmu switches "-cur_console" and "-new_console". For example, I have an alias with which I can edit the alias file directly:

salias=vim %SCRIPT_PATH%\cmder\config\user_aliases.cmd -new_console:n

Vim crashes directly after execution:

Crash after the option argument: "-new_console:n"

Another alias is to add a path to the environment variables:

path=setx /m OWN_PATHS "%OWN_PATHS%;$*" -new_console:abn

The error:

ERROR: Access to the registry path was denied.

As I said, all the commands worked with the old CMDER version. Is there a setting that will make this work again? And if not with switches, is there a way to run commands/aliases with admin rights, without to start a new console as admin?

Thank you very much.

Checklist

  • I have read the documentation and made sure what I'm looking for isn't present, or is unclear.
  • I have searched for similar issues, and either this question wasn't asked before, or I didn't find any that describe my question.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant