3

I've been using powershell.el in MS Windows Emacs, but I sometimes want to be administrative mode so that I can do software installation via chocolatey, etc.

Is there any way to call shell command, or call-process, in admin. mode from Emacs?

Drew
  • 75,699
  • 9
  • 109
  • 225
dualism
  • 304
  • 1
  • 6
  • I don't think this is possible from within emacs, but you could try to elevate the privileges with the script described [here](https://blogs.msdn.microsoft.com/virtual_pc_guy/2010/09/23/a-self-elevating-powershell-script/). – theldoria Mar 29 '18 at 06:29
  • I am also stuck with pretty much the same problem. I don't understand why I find working with Windows OS so difficult. – varshneydevansh Jun 21 '23 at 08:47

0 Answers0