TODO:

sudo.cmd:

@echo Set objShell = CreateObject("Shell.Application") > %temp%\sudo.tmp.vbs
@echo args = Right("%*", (Len("%*") - Len("%1"))) >> %temp%\sudo.tmp.vbs
@echo objShell.ShellExecute "%1", args, "", "runas" >> %temp%\sudo.tmp.vbs
@cscript %temp%\sudo.tmp.vbs

copy to "system32"

 

Usage:

sudo cmd

相关文章:

  • 2022-12-23
  • 2021-07-31
  • 2021-09-08
  • 2022-01-06
  • 2021-10-31
  • 2021-05-24
  • 2021-12-05
  • 2022-01-22
猜你喜欢
  • 2021-08-30
  • 2021-07-26
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2021-05-30
  • 2021-10-26
相关资源
相似解决方案