Hendrik,
I remember that I had such problem before. In my case it was due to
bilingual file naming conventions and the treatment of long file names. I
had to change file and path names in my MB code from:
Run Program "command.com /c dir /b d:\projects\MAPPING NETWORK
ELEMENTS\BESTSERVER\CRSFILES >c:\temp\crs_list.txt"

To:
Run Program "command.com /c dir /b d:\projects\MAPPIN~1\BESTSE~1\CRSFIL~1
>c:\temp\crs_list.txt"

and it did work. I'm not sure it will solve yours but give it a try..

Ahmed

-----Original Message-----
From: Possberg, Hendrik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 11:22 AM
To: Mapinfo-List (E-Mail) (E-Mail)
Subject: MI-L Run Program ?


Dear List,
        
I would like to start an old DOS Program via a Run Program statement in MI.
Therefore I use a *bat file.
The program I want to start calls "Makemap.exe" 
It is started with some parameters   "Makemap 10 Input  output "  -input and
output are *.mif files -the extensions are not needed.

The command behind the Button in Mapinfo is :

Run Program "D:\Mapbasic\RunProgram\Aufruf.bat"


Thats inside  "Aufruf.bat":

cd D:\Mapbasic\RunProgram
Makemap 10 Input  output 
Makemap 10 Input  output 


Here is my problem: 

1.-Doubleclicking the "aufruf.bat" in the browser starts the DOS program the
output files aregenerated and everything is fine.

2.-Calling the *bat from MI via Button the program can not be started.
   I do not know the reason but i guess it could be because of a wrong path.

Does anybody got an idea?


Thanks in Advance.



 Hendrik Po�berg
 Geodaten

 Phone: +49-2131-10 97 51
 mailto:[EMAIL PROTECTED]
__________________________________________________

 microm
 Micromarketing-Systeme und Consult GmbH
 Hellersbergstr. 14
 41460 Neuss
 Germany

 Phone: +49-2131-10 97 01
 Fax:     +49-2131-10 97 77
 mailto:[EMAIL PROTECTED]
 http://www.microm-online.de
 http://www.micromarketing.de
__________________________________________________ 

Diese Nachricht wurde elektronisch versandt und ist daher auch ohne
Unterschrift rechtsg�ltig. Der Inhalt dieser E-Mail enth�lt vertrauliche
Informationen. Das Kopieren und die Weitergabe an Dritte ist nicht
gestattet. Sollten Sie diese E-Mail irrt�mlich von uns erhalten haben,
bitten wir Sie, diese zu vernichten und uns dar�ber zu informieren.
Im Voraus vielen Dank.


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 5351



*******
Important 
Confidentiality: This communication is intended for the above named person
and is confidential and/or legally privileged any  opinion expressed in this
communication are not necessarily those of the Egyptian company for Mobile
Services (MobiNiL). If it has come to you in error you must take no action
based on it, nor must you copy or show it to anyone: please delete/destroy
and  inform the sender  immediately.
No Responsibility: MobiNiL is not responsible for any political, religious,
racial or partisan opinion in any correspondence conducted by its domain
users. Therefore, any such opinion expressed, whether explicitly or
implicitly, in any said correspondence is not to be interpreted as that of
MobiNiL.
Monitoring / Viruses: MobiNiL may monitor all incoming & outgoing e-mails in
line with current legislation. Although we have taken steps to ensure that
this e-mail and attachments are free from any Virus, we advise that in
keeping with good computing practice the recepient should ensure they are
actuallyvirus free.
The Egyptian Company for Mobile Services (MobiNiL) www.mobinil.com
<http://www.mobinil.com> 
The World Trade Center: 1191 Corniche El Nil, Boulaq - Cairo - Egypt 
Telephone: +20 2 574 - 7000 or + 20 12 320 - 0000 
Fax: +20 2 574 - 7111 or +20 12 320- 7111
*******


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 5355

Reply via email to