Thread: [Gpsbabel-misc] Batch files.
Brought to you by:
robertl
From: Reg <lis...@go...> - 2009-04-27 17:03:10
|
Using:- gpsbabel.exe -p "" -w -i mapsource -f %1 -o ozi -F "L:\MapSource\Babel\%~n1" in a .BAT file it's possible to drag & drop individual files on top of the batch file's icon, to do the conversion. Is it possible, probably with the DOS command - FOR, to convert all the files in a folder? Reg. |
From: JB L. <jb...@gm...> - 2009-04-27 17:29:57
|
You could do something like this: :again gpsbabel.exe -p "" -w -i mapsource -f %1 -o ozi -F "L:\MapSource\Babel\%~n1" shift if "%1" == "" goto end goto again :end Then you could just drag a bunch of files on to the batch file. JBLewis --------------------------------------------------------------------- 2009 Mississippi River Challenge http://www.mississippiriverchallenge.org/profiles/show/6871e3d3 http://randombodger.blogspot.com On Mon, Apr 27, 2009 at 12:03 PM, Reg <lis...@go...> wrote: > Using:- > > gpsbabel.exe -p "" -w -i mapsource -f %1 -o ozi -F > "L:\MapSource\Babel\%~n1" > > in a .BAT file it's possible to drag & drop individual files on top > of the batch file's icon, to do the conversion. > > Is it possible, probably with the DOS command - FOR, to convert all > the files in a folder? > > Reg. > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > |