실행 파일의 경로가 변수에 저장되는 배치 파일에서 windows 실행 파일을 시작하려고합니다.가변 경로에 공백이 포함 된 배치 파일에서 .exe를 호출하십시오.
'C:\Program' is not recognized as an internal or external command, operable program or batch file.
어떻게 든 문자열이 Program Files
의 공간에서 종료됩니다 같은데 : 불행하게도 내 스크립트를 실행
@echo off
set qtpath=C:\Program Files\Qt\5.7\mingw53_32\bin
set execpath=%qtpath%\windeployqt.exe
echo %execpath%
%execpath% --someparams
오류가 발생합니다.