[osgeo4w-dev] OSGeo4W 64bit shell and PATH
Jürgen E. Fischer
jef at norbit.de
Thu Nov 14 03:35:38 PST 2013
Hi Julien,
On Thu, 14. Nov 2013 at 11:32:36 +0100, Julien Malik wrote:
> OSGeo4W 64bit shell clears PATH when starting.
> This is not the case for the 32bit version, where we still have system
> and user PATH values.
> Is this intended ?
Yes, and both 32bit and 64bit should do that. PATH is often polluted with
unnecessary stuff, that sometimes even conflicts with stuff in OSGeo4W.
> I use the shell for development task where I need a bunch of paths to
> external tools (cmake, mercurial...). This is not quite convenient to lose
> the current PATH values.
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
path %pf%\CMake 2.8\bin;%pf%\Microsoft Visual Studio 10.0\Common7\IDE;%PATH%
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
set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include
PATH %PATH%;c:\cygwin\bin
@cmd
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
QGIS PSC member (RM) IRC: jef on FreeNode
--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
More information about the osgeo4w-dev
mailing list