Auto run program

Microsoft Dos 6.22 - 3 pack
March 3, 2010 at 19:34:38
Specs: Dos 6.22
I have a bare install of Dos 6.22 on a dedicated PC. It will be used only for one program to run in dos. Can I setup Dos to run this program from startup like autorun? I don't want to do anything but push the power button.

See More: Auto run program

Report •

#1
March 3, 2010 at 19:55:59
Yoiu can put the command to start the program in autoexec.bat.

You're not really green until you're soylent green.


Report •

#2
March 3, 2010 at 19:59:37
If the program was called "123.exe" what would the command line look like?

Report •

#3
March 3, 2010 at 20:32:29
A very simple example...

@ECHO OFF
prompt $p$g
PATH C:\DOS;C:\;C:\directory your 123.exe resides in
C:\MOUSE\MOUSE - if you need one
123 - to start 123.exe

Skip


Report •

Related Solutions

#4
March 3, 2010 at 20:32:42
Youi'd have to specify the path to the command statement unless there was a PATH statement in a previous line in autoexec.bat.

So if, for example, it was in a directory named 123 the line in autoexec.bat would be:

c:\123\123.exe

If it was in a subdirectory within 123 named, for example, sub, the line would be:

c:\123\sub\123.exe

and so on.

You're not really green until you're soylent green.


Report •

#5
March 4, 2010 at 04:15:49
Thanks for the help I will try that.

Report •

Ask Question