[Osgeo4w-trac] [osgeo4w] #17: generate .bat for bin/*.py
OSGeo4W
trac_osgeo4w at osgeo.org
Fri Jul 4 17:41:53 EDT 2008
#17: generate .bat for bin/*.py
-------------------------+--------------------------------------------------
Reporter: maphew | Owner: osgeo4w-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: major | Milestone:
Component: Installer | Version:
Keywords: |
-------------------------+--------------------------------------------------
this cmd snippet will generate a batch file for all the python scripts in
the bin directory. It could be included as part of ''python'' and ''gdal-
python'' packages.
{{{
for %%g in (*.py) do (@python "%%OSGEO4W_ROOT%%\bin\%%g" %%* > %%~ng.bat)
}}}
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/17>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list