Hello Jim, Tuesday, July 09, 2002, 12:00:13 PM, you wrote:
JW> Hi List, JW> I've trying to run some Fortran software from Mapbasic...I have setup a JW> batch file which changes the directory and then runs JW> the software with a load of parameters...when run from the command prompt it JW> works like a charm, but when I use Run Command "command.com /c c:\etc.bat" If your MB application running under NT you must use CMD.EXE instead command.com. Also you can use command "start c:\etc.bat". The best solution - use WinExec or CreateProcess WinAPI functions. JW> it doesn't do anything except go to the command prompt for a second and then JW> return to MI. JW> Any help would be appreciated, project needs to be done by tomorrow... JW> Thank You JW> Ben/Jim -- Best regards, Vladimir Lashin microOLAP Technologies LLC MBX/VCL free stuff - http://www.microolap.com/gis/mbx/index.htm MBBuilder - Visual Development Tool for MapBasic - http://www.microolap.com/gis/mb.htm Raster Handler for ERDAS Imagine to MapInfo - http://www.microolap.com/gis/imgrhl.htm MapInfo Callbacks Manager ActiveX - http://www.microolap.com/gis/micm.htm mailto:[EMAIL PROTECTED] http://www.microolap.com/gis/ - GIS related products --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
