From 9d3cdd4aa0c6feb423233d457eabd965a6dd64af Mon Sep 17 00:00:00 2001 From: Flowseal Date: Tue, 12 Nov 2024 23:05:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BD?= =?UTF-8?q?=D0=BE=20=D1=8D=D0=BA=D1=80=D0=B0=D0=BD=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service_goodbye_discord.bat | 2 +- service_install.bat | 2 +- service_remove.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/service_goodbye_discord.bat b/service_goodbye_discord.bat index 40888dd..057076a 100644 --- a/service_goodbye_discord.bat +++ b/service_goodbye_discord.bat @@ -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 ) diff --git a/service_install.bat b/service_install.bat index b24a8fa..cf93e6d 100644 --- a/service_install.bat +++ b/service_install.bat @@ -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 ) diff --git a/service_remove.bat b/service_remove.bat index fcf1303..1be3524 100644 --- a/service_remove.bat +++ b/service_remove.bat @@ -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 )