mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-10-21 02:58:44 +00:00
Исправно экранирование
This commit is contained in:
1 parent
fce0da4d0e
commit
9d3cdd4aa0
3 files changed
+3
-3
No files matched your search
@@ -6,7 +6,7 @@ set "arg=%1"
|
||||
if "%arg%" == "admin" (
|
||||
echo Restarted with admin rights
|
||||
) else (
|
||||
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"%~f0 admin\"' -Verb RunAs"
|
||||
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
|
||||
exit /b
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ set "arg=%1"
|
||||
if "%arg%" == "admin" (
|
||||
echo Restarted with admin rights
|
||||
) else (
|
||||
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"%~f0 admin\"' -Verb RunAs"
|
||||
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
|
||||
exit /b
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ set "arg=%1"
|
||||
if "%arg%" == "admin" (
|
||||
echo Restarted with admin rights
|
||||
) else (
|
||||
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"%~f0 admin\"' -Verb RunAs"
|
||||
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
|
||||
exit /b
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user