Computing.Net > Forums > Windows 3.1 > Booting automatically to Win3.1

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.

Booting automatically to Win3.1

Reply to Message Icon

Name: Ian
Date: August 28, 2001 at 17:30:38 Pacific
Comment:

I just installed DOS 6.3 and Win 3.1 on a P133. When booting up, it goes to the Dos shell. How can I change the following autoexec.bat file so it boots directly in windows? Here's the autoexec.bat file now:
C:\windows/smartdrv.exe
@echo off
prompt $p$g
path=c:\windows;c:\dos
set temp=c:\dos
c:\dos\mouse.com
c:dos\dosshell.exe

I tried just typing "WIN" at the bottom of this and nothing happened. Also, an older computer i have has the line: lh c:\dos\smartdrv.exe. What does this "lh" do.
Thanks a million



Sponsored Link
Ads by Google

Response Number 1
Name: erik
Date: August 28, 2001 at 17:55:45 Pacific
Reply:

Hi, change your autoexec.bat file to this:

@echo off
prompt $p$g
path=c:\windows;c:\dos
set temp=c:\windows\temp
c:\windows\smartdrv.exe
win

Bye


0

Response Number 2
Name: Ian
Date: August 28, 2001 at 18:31:55 Pacific
Reply:

Thanks Eric,

Do I need that lh line? and what does it do or mean?
Thanks again


0

Response Number 3
Name: jboy
Date: August 28, 2001 at 18:51:54 Pacific
Reply:

You might want to keep your mouse driver loaded

lh c:\dos\mouse

LH = loadhigh
saves on that precious conventional memory by loading the DOS mouse driver into 'upper' memory.
Try:

mem/c /p

to view memory usage

Basically, the lines in autoexec.bat are mainly DOS commands executed automatically upon startup. Your old autoexec started dosshell as its last line. You need to remove that line and replace it with the 'win' line that erik shows, to execute (not boot) Windows. You can really fine tune a DOS machine if you set up your autoexec.bat and config.sys files properly, but you need to be familiar with the structure of those text files.
The old MS-DOS6 help program is a good place to start, if you're interested.


0

Response Number 4
Name: Chad
Date: August 28, 2001 at 22:58:30 Pacific
Reply:

ok lets make this simple for you :)

remove the line c:dos\dosshell.exe
add the line C:\windows\win.com

save the autoexec.bat
restart the system and bask in the warm clow of the winBloze 3x splashscreen



0

Response Number 5
Name: Links
Date: August 29, 2001 at 22:22:33 Pacific
Reply:

Some very good answers.
Just remove the line c:dos\dosshell.exe

Then add win as the last line.
Good Luck
Links


0

Related Posts

See More



Response Number 6
Name: cheri
Date: September 13, 2001 at 06:40:31 Pacific
Reply:

can you tell me what the config sys should look like also?


0

Response Number 7
Name: JChapoton
Date: November 14, 2001 at 05:07:55 Pacific
Reply:

Never mind your Config.sys. The autoexec.bat file is what loads windows. At the DOS prompt C:\> type "edit" or "edit.com". This opens the dos editor. Pull up your Autoexec.bat file and go to the last line and type "win.com" not "win". Save changes and exit. Upon exiting the mach. should boot up and load windows automatic like>>>>>


0

Sponsored Link
Ads by Google
Reply to Message Icon






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: Booting automatically to Win3.1

Dual Booting DOS and Win3.1 on 10 GB HD www.computing.net/answers/windows-31/dual-booting-dos-and-win31-on-10-gb-hd/7477.html

Link to win3.1 disk? www.computing.net/answers/windows-31/link-to-win31-disk/541.html

Troubleshooting problems win3.1 www.computing.net/answers/windows-31/troubleshooting-problems-win31/1898.html