REM Make parent of this script location our current directory,REM converting UNC path to drive letter if neededpushd %~dp0cd ..REM set OSGEO4W_ROOT to short path versionfor %%i in ("%CD%") do set OSGEO4W_ROOT=%%~fsiREM start with clean pathset path=%OSGEO4W_ROOT%\bin;%WINDIR%\system32;%WINDIR%;%WINDIR%\system32\WBemfor %%f in ("%OSGEO4W_ROOT%\etc\ini\*.bat") do call "%%f"popd