When I run following command in cmd prompt it works:
for /R %f in (*.shp) do ogr2ogr -nln merge -update -append merge.shp %f
but when I run it from .bat file it does not work. Saying -nln was unexpected.
Is there anyway I could run this from .bat file.