Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-575 - Also allow batch argument to contain spaces; also certify.

ghizardbd5a9837085e
diff --git a/Ghidra/RuntimeScripts/Windows/support/createPdbXmlFiles.bat b/Ghidra/RuntimeScripts/Windows/support/createPdbXmlFiles.bat
index fff37b2e35..44826dd39e 100644
--- a/Ghidra/RuntimeScripts/Windows/support/createPdbXmlFiles.bat
+++ b/Ghidra/RuntimeScripts/Windows/support/createPdbXmlFiles.bat
@@ -64,7 +64,7 @@ for /f "tokens=* delims=" %%a in ('dir %arg1% /s /b') do (
setlocal enableDelayedExpansion
(
echo "Processing file: %%a"
- START /B /WAIT "" "%PDB_EXE%" %%a > "%%a.xml"
+ START /B /WAIT "" "%PDB_EXE%" "%%a" > "%%a.xml"
REM Exit if executable returned non-zero error code (signifies that there is a problem).
if !errorlevel! neq 0 (