Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.exeI 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

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
winBye

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.

ok lets make this simple for you :)
remove the line c:dos\dosshell.exe
add the line C:\windows\win.comsave the autoexec.bat
restart the system and bask in the warm clow of the winBloze 3x splashscreen

Some very good answers.
Just remove the line c:dos\dosshell.exeThen add win as the last line.
Good Luck
Links

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>>>>>

![]() |
![]() |
![]() |

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