[osgeo4w-dev] new application launch bat file template

Matt Wilkie matt.wilkie at gov.yk.ca
Thu Jan 22 18:47:45 EST 2009

> Sounds good, but I would strongly encourage you to forward modified
> bat files to package maintainers or there is a real risk on their
> next update the change will just get lost.  If they don't respond in
> some reasonable time (perhaps a week), you could go ahead and do it
> yourself and notify them.

I'll do that.

> Also, are the existing .bat files broken?  Sometimes it is good to
> clarify "best practice" and apply it where convenient but there is no
> need to immediately force all packages to adopt the practice if their
> old approach works adequately.

Well, default installs are Ok. Anything with the following won't work if
OSGEO4W_ROOT has a space though:

    for %%f in ("%OSGEO4W_ROOT%"\etc\ini\*.bat) do call %%f

The second %%f needs to be quoted. I'll take a look to see how many 
files might be affected.



More information about the osgeo4w-dev mailing list