wiki:pkg-shell

Version 16 (modified by maphew, 12 years ago) ( diff )

updated for release 0.0-11

shell

Menu and Desktop icon to launch an OSGeo4W command shell suitable for commandline utilities (GDAL, PROJ, etc).

Creates Osgeo4w Shell link on Desktop and Startmenu. Spawned from ticket #18

Batch files

osgeo4w - opens a command shell with proper o4w environment set
osgeo4w foo - opens a command shell with proper o4w environment set, and call program foo

o-help - a quick report of the available programs (pretty prints bin/*.exe, *.py)

addpath varName - append directory specified in%varName% to PATH, but only if not already there.
addpath /b varName to prepend...

inpath - query PATH for directory specified in %varName%. Only returns %errorlevel%, read .bat for details

Changes

  • 1.0.0-11: allow spaces in Osgeo4w_root path (#315); extend o-help to show .com files, and skip missing filetypes
  • 1.0.0-9: #284, new batch files addpath and inpath to intelligently only add items to PATH if they're not there exist already.
  • 1.0.0-9: #276, instead of stripping trailing backslash just convert doubles to singles.
  • 1.0.0-8: fix: cleaner calling of parameters introduced in .0-7; less noise in o-help reporting.
  • 1.0.0-7: change: pass initiating command line args to o4w shell. Allows calling osgeo4w.bat with parameters, e.g. "path\to\osgeo4w.bat %pythonhome%\path\to\pythonwin.exe". Also don't display help if parameters are present (is faster and not as noisy).
  • 1.0.0-6: bugfix: postinstall bat did not have properly closed quotes
  • 1.0.0-6: change: o-help lists batchfiles as well as .exe and .py
  • 1.0.0-5: fixed startmenu group, was double nested (OSGeo4W\OSGeo4W)
  • 1.0.0-4: fixed bug in postinstall where duplicate desktop link was created
  • 1.0.0-3: fixed bug in postinstall: Start menu one link was not created properly
  • 1.0.0-3: osgeo.bat calls o-help on startup
  • 1.0.0-3: Shortened osgeo-help.bat to o-help.bat (if you upgraded from .0-2 you may need to remove the old one manually)

Open tickets

No results

Recently closed tickets

defect type tickets:

#276
Osgeo4w.bat problem with setting root
#315
Spaces in install path breaks OSGeo4W.bat
#208
OSGeo4w shell: Environment not set correctly to use python with qgis bindings
#122
pkg-apt: needs path changes for Windows 7

enhancement type tickets:

#18
shell package
#322
Command line ability to escalate to admin priviliges

Note: See TracWiki for help on using the wiki.