Link to home
Start Free TrialLog in
Avatar of schmir1
schmir1Flag for United States of America

asked on

DOS Batch Turnkey system for Win95

I need to recreate the turnkey DOS Batch script that I had in my laptop's autoexec.bat.  It would start my DOS program (CALMAP.EXE) as my Windows 95 PC was booting up.  I believe it would circumnavigate the normal boot process and start my DOS program quickly before windows was fully running.  Then to run Windows 95, I would just exit CALMAP.  I believe the script also sent keys to CALMAP to get it to the correct screen.  FYI: This program (CALMAP) and the old laptop are used to tune my car so I want it to come up just by turning the laptop on.  I had it working fine then my laptop was stolen.  Now I can't remember how to write the script for my replacement laptop.
Avatar of wizzie83
wizzie83

Just put in the autoexec.bat

Sending keys to the program can be done by:

type keys.dat > calmap.exe

where keys.dat contains the keys to be pressed.
Avatar of schmir1

ASKER

How do I start calmap.exe before windows is launched?  I think it was a shell command?
ASKER CERTIFIED SOLUTION
Avatar of wizzie83
wizzie83

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of schmir1

ASKER

If I put this as the first part of my autoexec.bat, will it run before windows is launched?
  cd c:\calmap
  calmap.exe