[osgeo4w-dev] OSGeo4W 64bit shell and PATH

Julien Malik julien.malik at c-s.fr
Tue Nov 19 03:25:15 PST 2013

Hi Jef,

Minor feedback on your devenv script :

On 11/14/2013 12:35 PM, Jürgen E. Fischer wrote:
> I use alternative batch files to start my devenv. E.g.:
> set pf=%ProgramFiles(x86)%
> if "%pf%"=="" set pf=%ProgramFiles%
> call "%pf%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64
the following line :
> path %pf%\CMake 2.8\bin;%pf%\Microsoft Visual Studio 10.0\Common7\IDE;%PATH%
is useless if called before the following line (since o4w_env.bat nukes
the PATH now) :
> call "C:\OSGeo4W64\bin\o4w_env.bat"
> call "%OSGEO4W_ROOT%"\apps\grass\grass-6.4.3\etc\env.bat
> set LIB=%LIB%;%OSGEO4W_ROOT%\lib
> PATH %PATH%;c:\cygwin\bin
> @cmd

I call o4w_env.bat at the very first line of the script to avoid that.

Anyway it was very helpful.
Thanks again for sharing,


More information about the osgeo4w-dev mailing list