run cmd as admin with ActiveXObject javascript

前端 未结 0 602
有刺的猬
有刺的猬 2021-01-25 02:15

I want to run a cmd command as admin. How would i do that?

var run=new ActiveXObject(\'WSCRIPT.Shell\').Run("npm insta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题