mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2025-12-10 05:19:45 +05:00
Auto close cmd after finish
This commit is contained in:
@@ -8,7 +8,7 @@ if "%1"=="admin" (
|
|||||||
echo Started with admin rights
|
echo Started with admin rights
|
||||||
) else (
|
) else (
|
||||||
echo Requesting admin rights...
|
echo Requesting admin rights...
|
||||||
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
|
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/c \"\"%~f0\" admin\"' -Verb RunAs"
|
||||||
exit /b
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ if "%1"=="admin" (
|
|||||||
echo Started with admin rights
|
echo Started with admin rights
|
||||||
) else (
|
) else (
|
||||||
echo Requesting admin rights...
|
echo Requesting admin rights...
|
||||||
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
|
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/c \"\"%~f0\" admin\"' -Verb RunAs"
|
||||||
exit /b
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user