...
rem Root OSGEO4W home dir to the same directory this script exists in
set OSGEO4W_ROOT=%~dp0
rem Remove trailing backslash
set OSGEO4W_ROOT=%OSGEO4W_ROOT:~0,-1%
...
...
rem Root OSGEO4W home dir to the same directory this script exists in
rem set OSGEO4W_ROOT=%~dp0
rem Remove trailing backslash
rem set OSGEO4W_ROOT=%OSGEO4W_ROOT:~0,-1%
set OSGEO4W_ROOT=C:\PROGRA~1\QUANTU~1
...
도스식 경로는 dir /X 명령으로 확인 가능하네요.