Update build.bat Prevent spaces in path (#16635)

### Description
<!-- Describe your changes. -->
Simply add double quotes to prevent there is spaces in the path


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
As if there are spaces in path the bat cannot run, error would occurs.
So with a simple double quotes can fix these problems
- If it fixes an open issue, please link to the issue here. -->

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
This commit is contained in:
Tommy Au 2023-07-11 22:07:08 +08:00 committed by GitHub
parent ad994565ae
commit 1b07bbceaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,4 +3,4 @@
@echo off
rem Requires a python 3.6 or higher install to be available in your PATH
python %~dp0\tools\ci_build\build.py --build_dir %~dp0\build\Windows %*
python "%~dp0\tools\ci_build\build.py" --build_dir "%~dp0\build\Windows" %*