cmd runas admin

This commit is contained in:
Windows
2021-07-12 01:58:17 +03:00
parent e17046edfe
commit a423d8bc11
+9
View File
@@ -0,0 +1,9 @@
@set @x=0; /*
@echo off
ver |>NUL find /v "5." && if "%~1"=="" cscript.exe //nologo //e:jscript "%~f0"& exit /b
cd /d "%~dp0"
cmd.exe
:: Эту строку не трогать. Ниже ничего не писать!!!
*/new ActiveXObject('Shell.Application').ShellExecute (WScript.ScriptFullName,'Admin','','runas',1);