Running cmd.exe with admin priviliges

后端 未结 2 1824
南方客
南方客 2021-01-03 01:21

This is my code trying to run cmd.exe with admin priviligies. However, I get the request operation requires elevation. if I run cmd.exe with \"Run as Admin\" through my wind

2条回答
  •  暖寄归人
    2021-01-03 01:36

    Make it as an object and then set it to start up requiring admin priv in the application.object.settings thing.

提交回复
热议问题