From 77f3edfc8aebf403cc8d0ec69762c9376005f78a Mon Sep 17 00:00:00 2001 From: nnposter Date: Sun, 19 Oct 2025 02:29:36 +0000 Subject: [PATCH] Make sure that all locations are added, not just the last one --- mswin32/python-wrap.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mswin32/python-wrap.bat b/mswin32/python-wrap.bat index 5503b6c91..09ef13e31 100755 --- a/mswin32/python-wrap.bat +++ b/mswin32/python-wrap.bat @@ -23,7 +23,7 @@ set PATH=%NMAPDIR%\zenmap\bin;%PATH% for /D %%P in ("%ProgramFiles%\Python 3.*", "%ProgramFiles(x86)%\Python 3.*", "%LocalAppData%\Programs\Python\Python3*" - ) do set PATH=%PATH%;%%~P + ) do set PATH=!PATH!;%%~P for %%P in ( py.exe, python.exe) do ( set PYTHON=%%~f$PATH:P