Subj : Calling OS/2 CMD from DOS BAT To : Peter Knapper From : Mike Powell Date : Wed Apr 13 2005 07:47 pm | MP> I have moved my board over to the OS/2 system. The one | MP> problem I am having is that I cannot run the os/2 version | MP> of IREX, unless I do it manually. | | Ok, I will bite, WHY can this not be done? Any .BAT or .CMD fie can be started | in AUTOEXEC.BAT or in the Startup folder, so I fail to see why it has to be | manual... So it will run in correct order with the DOS events in the DOS BAT file (see below). Since I can't call the CMD file from the BAT, I have to run the IREX events by hand (while the BAT is Paused). | MP> I can't call it from the BAT file, and I can't call the CMD | MP> file from the BAT file. | | I am still puzzeled why you need a DOS .BAT file??? | | MP> I tried START, but that obviously only works in an OS/2 window. ;-) | | It also work in an OS/2 Full screen session.....;-) However we need to | understand WHY you have to run a .BAT file and connot start a .CMD file... +-[PK=>MP] Because of the problem you mention below: | 1. Turn your .BAT files into .CMD files and run them anyway. A Dos |executable within the .CMD file will cause a DOS windwo to open and run the DOS |app, which ends and control returns to the OS/2 .CMD file, BUT passing return |values can prevent this from being much use. +-[PK=>MP] Every program I run, except for IREX, for the BBS is a DOS program. The only reason I moved it over to the OS/2 box was for the VMODEM telnet capability. Otherwise, it'd still be on the DOS/DV box. ;-) I wasn't moving it over to convert it the BBS ware itself to OS/2, except for IREX, which I thought would probably work better with the broadband connection if it were the OS/2 native version. I might eventually try your third suggestion, and use the FLAG files. But I will try the HSTART first. Mike ##MMR 2.61(beta). !link PK 04-11-05 19:45 --- GTMail 1.26 * Origin: Kentucky's Capitol City Online * 502/875-8938 (1:2320/105.0) .