Sorry but another Windows 2000 problem which is driving me mad!
Rather than SHELLing batch files (to PKZIP data for instance) I fill the keyboard buffer with the name of a batch file (+RETURN) and END the program. The batch file then does the business and when finished relaunches my programme. Works fine for clients using DOS (quite a few through choice!) and Windowz 98 (full screen).
But I cannot get it to work in Windowz 2000 as when the programme ENDs the session terminates.
I have tried setting up the window (always full screen) to 1) run the EXE, 2) run the BAT and 3) run a BAT which CALLs the BAT but in all cases the session terminates when the programme ENDs.
The keyboard buffer bit works as I have tested TYPEing a file with it. And if I launch a DOS full screen session manually and run the EXE manually it all works fine.
Can anybody help me before I go grey!
TIA
Roy
------------------
Rather than SHELLing batch files (to PKZIP data for instance) I fill the keyboard buffer with the name of a batch file (+RETURN) and END the program. The batch file then does the business and when finished relaunches my programme. Works fine for clients using DOS (quite a few through choice!) and Windowz 98 (full screen).
But I cannot get it to work in Windowz 2000 as when the programme ENDs the session terminates.
I have tried setting up the window (always full screen) to 1) run the EXE, 2) run the BAT and 3) run a BAT which CALLs the BAT but in all cases the session terminates when the programme ENDs.
The keyboard buffer bit works as I have tested TYPEing a file with it. And if I launch a DOS full screen session manually and run the EXE manually it all works fine.
Can anybody help me before I go grey!
TIA
Roy
------------------
Comment