Hi Carl, May I know the detail error we would meet if we don't add the quotes ?
Best Regards, Zhu Yonghong From: Miller, Carl H [mailto:[email protected]] Sent: Wednesday, October 28, 2015 11:03 PM To: [email protected] Cc: Zhu, Yonghong; Gao, Liming Subject: PATCH BaseTools/toolsetup.bat : enquote PATH reassignment add quotes around updating of the PATH env. var. to avoid errors when existing path contains spaces. Cc: M: Yonghong Zhu <[email protected]<mailto:[email protected]>> M: Liming Gao <[email protected]<mailto:[email protected]>> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thompson, James J <[email protected]<mailto:[email protected]>> diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat index 59874c5..e90e28e 100755 --- a/BaseTools/toolsetup.bat +++ b/BaseTools/toolsetup.bat @@ -322,10 +322,10 @@ goto end echo !!! WARNING !!! Will not be able to compile Python programs to .exe echo Will setup environment to run Python scripts directly. echo. - set PATH=%BASETOOLS_PYTHON_SOURCE%\Trim;%PATH% - set PATH=%BASETOOLS_PYTHON_SOURCE%\GenFds;%PATH% - set PATH=%BASETOOLS_PYTHON_SOURCE%\build;%PATH% - set PATHEXT=%PATHEXT%;.py + set PATH="%BASETOOLS_PYTHON_SOURCE%\Trim;%PATH%" + set PATH="%BASETOOLS_PYTHON_SOURCE%\GenFds;%PATH%" + set PATH="%BASETOOLS_PYTHON_SOURCE%\build;%PATH%" + set PATHEXT=%PATHEXT%;.py ) ) _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

