From a0e9747ee0e4317d7c7353289b6afe58201a3cec Mon Sep 17 00:00:00 2001 From: DrbitsOFFICIAL <151682543+DrbitsOFFICIAL@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:51:29 +0100 Subject: [PATCH] Fixed crash if the file path contained a space (#15) --- Run.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Run.bat b/Run.bat index 9b1a53c..9f8c2de 100644 --- a/Run.bat +++ b/Run.bat @@ -1 +1 @@ -PowerShell -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File "%~dp0Win11Debloat.ps1"' -Verb RunAs}" +PowerShell -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""%~dp0Win11Debloat.ps1""' -Verb RunAs}"