Opened 16 years ago
Closed 12 years ago
#17 closed enhancement (fixed)
generate .bat for bin/*.py
Reported by: | maphew | Owned by: | maphew |
---|---|---|---|
Priority: | major | Component: | Package |
Version: | Keywords: | gdal-python | |
Cc: |
Description (last modified by )
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 echo @python "%%OSGEO4W_ROOT%%\bin\%%g" %%* > %%~ng.bat
Attachments (2)
Change History (8)
by , 16 years ago
comment:1 by , 16 years ago
the command example is broken (but the attached batch files are ok), it's missing echo
, should be:
for %%g in (*.py) do echo @python "%%OSGEO4W_ROOT%%\bin\%%g" %%* > %%~ng.bat
comment:3 by , 16 years ago
ckiko13, please use the mailing list for help and support questions: http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev This tracker is for filing bug reports and enhancement requests.
comment:4 by , 16 years ago
Component: | Installer → Package |
---|---|
Keywords: | gdal-python added |
Owner: | changed from | to
Status: | new → assigned |
comment:5 by , 13 years ago
Description: | modified (diff) |
---|
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closed as of python 2.7, which installs and runs bin\make-bat-for-py.bat
. (The same script can be run later at any time.)
Note:
See TracTickets
for help on using tickets.
etc/postinstall/gdal.bat