dos 6.2.2\win 3.1 not booting to win 3.1

February 19, 2012 at 05:28:12
Specs: Windows XP
cannot edit autoexec.bat in dos 6.2.2,it shows as an app. Points to smartdrv.exe.Have to type WINDOWS\WIN to get windows 3.1 up

See More: dos 6.2.2\win 3.1 not booting to win 3.1

Report •

#1
February 19, 2012 at 05:30:30
Are you attempting to edit autoexec.bat from within Windows 3.1? If so, then probably better to exit Windows and used the Edit function from MS-DOS.

"Channeling the spirit of jboy..."


Report •

#2
February 19, 2012 at 05:38:32
T R A thanks 4 your reply,but edit was attempted from DOS

Report •

#3
February 19, 2012 at 05:41:22
What occurs when you edit it? I assume you're typing in "edit C:\autoexec.bat" (without the quotes)...

Also, you should have "PATH=C:\WIN31;C:\DOS" inside autoexec.bat somewhere.


"Channeling the spirit of jboy..."


Report •

Related Solutions

#4
February 19, 2012 at 05:48:16
opens smartdrv.exe

Report •

#5
February 19, 2012 at 05:53:17
Bad command or file name

Report •

#6
February 19, 2012 at 06:13:58
"PATH=C:\WINDOWS;C:\DOS" assuming DOS folder contains the DOS commands

List the directory of the folders in C:\ for us.
or
Try the command dir edit.* /S
I think that is the format to list all files and folders named edit.


Report •

#7
February 20, 2012 at 01:55:09
Could you post your config.sys and autoexec.bat files?

Report •

#8
February 20, 2012 at 21:18:32
no net as of yet
maybe rephrase of question will help
i want win3.1 to load automaticaly post boot
this is on a thinkpad 755ce
any ideas

Report •

#9
February 21, 2012 at 05:14:24
Windows is started by a file called WIN.CΟM 

In order to bypass DOS and go straight to Windows the AUTOEXEC.BAT file needs to have WIN at the bottom of the list of commands.

However, you need to have:

PATH = C:\WINDOWS;C:\DOS

somewhere above that. The PATH command is the way DOS creates shortcuts to certain folders for faster access and remembers them. Since C:\WINDOWS is in the PATH statement, just typing WIN at the DOS prompt starts Windows.

Therefore, running a BATch file, such as AUTOEXEC.BAT is merely a list of instructions you want (and in most cases need) the computer to run. By typing in WIN or WIN.CΟM as the last statement starts up Windows straight through.

Without C:\WINDOWS in the PATH would require the exact point to the directory and file typed in at the end:

C:\WINDOWS\WIN

I would highly recommend keeping C:\WINDOWS in the PATH statement in any case.


Report •

#10
February 21, 2012 at 12:19:40
no user access to any of these files
bad command or file mame at each attempt,now what

Report •

#11
February 22, 2012 at 10:12:01
edit c:\autoexec.bat

If this does not work you should reinstall DOS and Windows.

If you cannot access the files it tells me there is problem in config.sys that is causing DOS not to boot properly.

You could alternately use a boot disk to allow editing.

It is always recommended to keep a boot disk nearby when editing in config.sys and autoexec.bat. Mistakes in editing can happen. Happily, a boot disk will allow you to edit the config.sys and autoexec.bat on the C drive to fix the booting problem.


Report •

Ask Question