From 56ac9e65025d786832f8a65922b50da09a6cdabe Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Wed, 13 Nov 2024 19:54:49 +0500 Subject: [PATCH] Driver: scripts: Add "C:\Windows\System32" to PATH env var --- src/driver/scripts/setup-vars.bat | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/driver/scripts/setup-vars.bat b/src/driver/scripts/setup-vars.bat index 61b4c9c4..db329bb5 100644 --- a/src/driver/scripts/setup-vars.bat +++ b/src/driver/scripts/setup-vars.bat @@ -1,5 +1,9 @@ @rem Setup variables +@if defined FORTSVC goto EXIT + +@set PATH=%SystemRoot%\System32;%PATH% + @set ARCH=x86 @if "%PROCESSOR_ARCHITECTURE%" == "AMD64" ( @set ARCH=x86_64 @@ -25,3 +29,5 @@ @set DISPNAME=Fort Firewall Driver @set FORTSVC=FortFirewallSvc + +:EXIT