mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2025-04-15 17:51:26 -07:00
Исправно экранирование
This commit is contained in:
parent
fce0da4d0e
commit
9d3cdd4aa0
@ -6,7 +6,7 @@ set "arg=%1"
|
|||||||
if "%arg%" == "admin" (
|
if "%arg%" == "admin" (
|
||||||
echo Restarted with admin rights
|
echo Restarted with admin rights
|
||||||
) else (
|
) 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
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ set "arg=%1"
|
|||||||
if "%arg%" == "admin" (
|
if "%arg%" == "admin" (
|
||||||
echo Restarted with admin rights
|
echo Restarted with admin rights
|
||||||
) else (
|
) 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
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ set "arg=%1"
|
|||||||
if "%arg%" == "admin" (
|
if "%arg%" == "admin" (
|
||||||
echo Restarted with admin rights
|
echo Restarted with admin rights
|
||||||
) else (
|
) 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
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user