Page 1 of 1

RESOLVED: How to run cmd.exe as admin on current folder?

Posted: 06.07.2019, 14:40
by stephen147
See attached. Is this even possible?

Unticking With "Run as " dialog will work.

Image

Re: How to run cmd.exe as admin on current folder?

Posted: 22.01.2020, 22:44
by stephen147
Answer from Marek here.
CMD as admin with current path:

Program or folder: %windir%\system32\cmd.exe

Parameter: /k "cd /d %ActivDir%"