I have a stinky old laptop with DOS 6.2 on it, I only have one program on there and I would like it to open automatically when I startup my computermachine. Do I make a batch file or something? anybody know?
Printable View
I have a stinky old laptop with DOS 6.2 on it, I only have one program on there and I would like it to open automatically when I startup my computermachine. Do I make a batch file or something? anybody know?
You just need to type
edit autoexec.bat
from the c:\> and add the name and path of the executable below whatever is already there. Then save, exit, and reboot.
if the executable is a batch file Dont forget to add - Call - before the statement, E.G.
Call 1.bat
This means that executing the batch file doesnt terminate the current one.
Or even better, copy and paste the contents of 1.bat in to autoexec.bat, as using the CALL function will leave autoexec.bat partially finished, possible leaving drivers or TSRs uninstalled... not a "must-do", but it simplifies things for newbies.Quote:
Originally posted by Gabriel:
<STRONG>if the executable is a batch file Dont forget to add - Call - before the statement, E.G.
Call 1.bat
This means that executing the batch file doesnt terminate the current one.</STRONG>