Computing.Net > Forums > Windows 3.1 > How can I make a autorun for MS-Dos

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How can I make a autorun for MS-Dos

Reply to Message Icon

Name: bp103
Date: October 25, 2005 at 12:29:54 Pacific
OS: windows 3.11
CPU/Ram: 586/64
Comment:

I need to know how to make a autorun for MS-dos (Not Windows). So when I boot up the computer it will let me boot off or run a program on the cd with out having to play with MS-dos to make it run

Bp103




Sponsored Link
Ads by Google

Response Number 1
Name: plainandsimple
Date: October 25, 2005 at 13:09:01 Pacific
Reply:

The AUTOEXEC.BAT file is used to autostart programs, if for example I wanted to auto run Arachne Web Browser my AUTOEXEC.BAT would look similar to this:

SET BLASTER=A220 D5 I1
C:\DOS\SMARTDRV.exe /X
@ECHO OFF
PROMPT $p$g
PATH C:\DOS
SET TEMP=C:\DOS
c:\ctmouse\ctmouse.exe
c:\network\e100bpkt.com 0x60
c:\arachne\arachne


0

Response Number 2
Name: alexanrs
Date: October 25, 2005 at 17:56:25 Pacific
Reply:

Autorun feature is the ability to run an specific program as soon as the CD is inserted at any moment while the OS is fully loaded. If this is what you want to do, it is impossible without windows, as DOS (MSCDEX, SHSUCDEX or the CD extension software you use, in reality) does not trap the CD insertion notification message to look for a configuration file that specifies the file which should be ran.
But, after reading further your message, it seems that what you really want is a bootable CD that simply executes a program during startup. It is a matter of adding it to the autoexec.bat in this case, making sure to use the drive letter that your CD assigns to itself when it boots


0

Response Number 3
Name: GRP
Date: November 21, 2005 at 16:03:08 Pacific
Reply:

If you put it in the Autoexec.bat file you will have to load the same program every time you boot your computer. Your only option I can see is to run a batch file. After your computer boots slip in the CD, type your batch file name at the command prompt.
To make a batch file, at the C prompt type "edit xxxx.bat" replace the x's with your filename. An example of a batch file.
"d:" //go to CD drive
"CD/xxx //change to exe dir
"xxxx" //execute exe file



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 3.1 Forum Home


Sponsored links

Ads by Google


Results for: How can I make a autorun for MS-Dos

how can i make win3.11 read newer files(mp3,......) www.computing.net/answers/windows-31/how-can-i-make-win311-read-newer-filesmp3/4223.html

Can I make a Windows 3.11 CD??? www.computing.net/answers/windows-31/can-i-make-a-windows-311-cd/11165.html

I need disk one for ms dos 6.22 www.computing.net/answers/windows-31/i-need-disk-one-for-ms-dos-622/5878.html