C:\OSGeo4W64>call "C:\OSGeo4W64\bin\o4w_env.bat" C:\OSGeo4W64>REM Make parent of this script location our current directory, C:\OSGeo4W64>REM converting UNC path to drive letter if needed C:\OSGeo4W64>pushd C:\OSGeo4W64\bin\ C:\OSGeo4W64\bin>cd .. C:\OSGeo4W64>REM set OSGEO4W_ROOT to short path version C:\OSGeo4W64>for %i in ("C:\OSGeo4W64") do set OSGEO4W_ROOT=%~fsi C:\OSGeo4W64>set OSGEO4W_ROOT=C:\OSGEO4~1 C:\OSGeo4W64>REM start with clean path C:\OSGeo4W64>set path=C:\OSGEO4~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem C:\OSGeo4W64>for %f in ("C:\OSGEO4~1\etc\ini\*.bat") do call "%f" C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\gdal.bat" C:\OSGeo4W64>SET GDAL_DATA=C:\OSGEO4~1\share\gdal C:\OSGeo4W64>SET GDAL_DRIVER_PATH=C:\OSGEO4~1\bin\gdalplugins C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\libgeotiff.bat" C:\OSGeo4W64>SET GEOTIFF_CSV=C:\OSGEO4~1\share\epsg_csv C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\libjpeg.bat" C:\OSGeo4W64>set JPEGMEM=1000000 C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\liblas.bat" C:\OSGeo4W64>SET GDAL_DATA=C:\OSGEO4~1\share\gdal C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\msvcrt.bat" C:\OSGeo4W64>rem This is just a dummy to make sure the for loop in ..\..\osgeo4w.bat C:\OSGeo4W64>rem always has some files to process. C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\proj.bat" C:\OSGeo4W64>SET PROJ_LIB=C:\OSGEO4~1\share\proj C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\python-core.bat" C:\OSGeo4W64>SET PYTHONHOME=C:\OSGEO4~1\apps\Python27 C:\OSGeo4W64>PATH C:\OSGEO4~1\apps\Python27\Scripts;C:\OSGEO4~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\qt4.bat" C:\OSGeo4W64>set QT_PLUGIN_PATH=C:\OSGEO4~1\apps\qt4\plugins C:\OSGeo4W64>set QT_RASTER_CLIP_LIMIT=4096 C:\OSGeo4W64>set O4W_QT_PREFIX=C:/OSGEO4~1/apps/qt4 C:\OSGeo4W64>set O4W_QT_BINARIES=C:/OSGEO4~1/bin C:\OSGeo4W64>set O4W_QT_PLUGINS=C:/OSGEO4~1/apps/qt4/plugins C:\OSGeo4W64>set O4W_QT_LIBRARIES=C:/OSGEO4~1/lib C:\OSGeo4W64>set O4W_QT_TRANSLATIONS=C:/OSGEO4~1/apps/qt4/translations C:\OSGeo4W64>set O4W_QT_HEADERS=C:/OSGEO4~1/include/qt4 C:\OSGeo4W64>call "C:\OSGEO4~1\etc\ini\rbatchfiles.bat" C:\OSGeo4W64>IF EXIST "C:\Program Files\R\" C:\OSGEO4~1\apps\rbatchfiles\R path C:\OSGeo4W64>popd C:\OSGeo4W64>call qt5_env.bat