Run Map basic commands from command line

1,204 views
Skip to first unread message

Mike Weaver

unread,
Jul 30, 2009, 1:18:15 AM7/30/09
to MapInfo-L
I have a set of mapbasic instructions that I would like to execute
from the command line.

open table, open table, combine tables, save table

I could always run a workspace with the commands in it and then have
the last line of the workspace close mapinfo.

I would like to kick off from the command line, I would like to be
able do this without it opening mapinfo.

is this possible?

Mike Weaver

unread,
Jul 30, 2009, 4:49:15 AM7/30/09
to MapInfo-L
Found an answer!
You can compile and the run your program like so:

C:\"Program Files"\MapInfo\MapBasic\mapbasic.exe -NOSPLASH -D
"myprog.MB"
myprog.mbx

(Found this page online: http://www.lanstorp.com/UltraEdit/MapBasic/MapBasic.htm)

Mike
Reply all
Reply to author
Forward
0 new messages