Jump to content











Photo
- - - - -

Windows 3.11 for Workgroups boot Straight to WIndows ???


  • Please log in to reply
21 replies to this topic

#1 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 01 March 2012 - 10:01 AM

I having problems booting straight into windows. It seems to show that its booting into windows but then,
The Dos prompt shows up. I can type Win and boot into it but I would like it to be automatic.
The autoexec.bat has the WIN at the end of it.

Booting and Autoexec Screenshots.
Autoexec.jpg
Windows for Workgroups 3.11 Movie.gif

#2 Kannibaal

Kannibaal
  • Members
  • 3 posts
  •  
    Netherlands

Posted 01 March 2012 - 12:43 PM

It has been a long time for me working with windows 3.1.

The last three lines should only read.

win

if you need to "remark" statements you put a REM before it like this.
REM c:windowswin
REM cd

I am suspecting the :: in your batch file are conflicting.

Marco

#3 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10452 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 01 March 2012 - 02:46 PM

Hello,

If you remove the :: then it should boot as intended. The :: is used as replacement to REM when you need to comment out some line of code and on this case you jump into DOS because you are calling "win" on the last line but it is not listed on the PATH variables.

As background info, in those times I preferred to use :: rather than REM because it looked better and some people argued it would even be faster than placing REM: http://www.robvander...om/comments.php

#4 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 06:47 AM

yeah! The :: are meant as comments. Well its suppose to be one but the two :: make it easier to find.

DOS because you are calling "win" on the last line but it is not listed on the PATH variables.

I think that is why the "Windows" Path is being used because the WIN.com file is in there. So as I read in other places. As long as you supposedly had just WIN at the End the Windows boot up should happen. But it kicks back to DOS.
Doing this in Vmware.


Tried
-----------------------------------------------------------------------
C:WINDOWSMSCDEX.EXE /S /D:MSCD000

C:WINDOWSnet start

C:DOSSMARTDRV.EXE /X

C:DOSIDLE.EXE





SET SOUND=C:SB16

SET BLASTER=A220 I5 D1 H5 P330 T6

SET MIDI=SYNTH:1 MAP:E

C:SB16DIAGNOSE /S

C:SB16MIXERSET /P /Q



@ECHO OFF

PROMPT $p$g

PATH C:NDO2000;C:WINDOWS;C:DOS

SET TEMP=C:DOS

::C:WINDOWSWIN

::CD

WIN




C:WINDOWSMSCDEX.EXE /S /D:MSCD000

C:WINDOWSnet start

C:DOSSMARTDRV.EXE /X

C:DOSIDLE.EXE



SET SOUND=C:SB16

SET BLASTER=A220 I5 D1 H5 P330 T6

SET MIDI=SYNTH:1 MAP:E

C:SB16DIAGNOSE /S

C:SB16MIXERSET /P /Q

@ECHO OFF

PROMPT $p$g

PATH C:NDO2000;C:WINDOWS;C:DOS

::SET TEMP=C:DOS

::C:WINDOWSWIN

::CD

WIN




C:WINDOWSMSCDEX.EXE /S /D:MSCD000

C:WINDOWSnet start

C:DOSSMARTDRV.EXE /X

C:DOSIDLE.EXE



SET SOUND=C:SB16

SET BLASTER=A220 I5 D1 H5 P330 T6

SET MIDI=SYNTH:1 MAP:E

C:SB16DIAGNOSE /S

C:SB16MIXERSET /P /Q

@ECHO OFF

PROMPT $p$g

PATH C:NDO2000;C:WINDOWS;C:DOS

SET TEMP=C:DOS

REM C:WINDOWSWIN

REM CD

WIN


No success.

#5 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 07:33 AM

http://www.computerhope.com/ac.htm

SET PATH=C:Windows;C:
Sets the computer to look in the C:windows directory or the root if a command used at the prompt is not found.



WIN
Used for users using Windows 3.x, this line will load Windows automatically when booting the computer.




Note: If you want to start Windows automatically when you boot, place the line C:windowswin in the autoexec.bat



#6 Kannibaal

Kannibaal
  • Members
  • 3 posts
  •  
    Netherlands

Posted 02 March 2012 - 07:45 AM

So let's assume your autoexec.bat contains this.

SET SOUND=C:SB16
SET BLASTER
=A220 I5 D1 H5 P330 T6
SET MIDI
=SYNTH:1 MAP:E
C
:SB16DIAGNOSE /S
C
:SB16MIXERSET /P /Q
@ECHO OFF
PROMPT $p$g
PATH C
:NDO2000;C:WINDOWS;C:DOS
SET TEMP
=C:DOS
REM C
:WINDOWSWIN
REM CD
WIN

You get this after a while.

C:_

You type in

win (enter)

And windows starts up?

Does the C:ndo2000 folder contain a win.bat, win.com or win.exe?

Did you create a win.exe or bat file in the root folder?

Can you do the following.

Paste the 4 commands below in the command prompt and paste the contents of test.txt in this forum.

cd
dir win.* /s > test.txt
tree >> test.txt
set >> test.txt

First command goes to C: (just in case)
The second command should look for all instances of win on your system in all folders and copy then to test.txt
The third command should give a tree of all the folders and append them to test.txt
The fourth command should give a overview of all variables defined in autoexec.bat and append them to test.txt

#7 wendy

wendy

    Frequent Member

  • Lady
  • 266 posts
  • Location:one mile from the QR main line
  • Interests:Operating systems, Weights and Measures, Geometry
  •  
    Australia

Posted 02 March 2012 - 07:59 AM

You are defintely launching windows, according to your video. There seems no problems with DOS, but if you're using msdos 7.1 (from win9x), you have to start windows differently: (don't have windows in the path, then cd windows, then win, then cd .)

Still, i have seen this problem a number of times. It's related to the video driver, even vga.drv causes problems. You might have to hunt down something called vga30.drv (say, on the Windows Driver Library diskette set). Alternately, try using a dos that pretends to be msdos 3.31 or something. This discourages certian bugs in Windows that makes certian assumptions regarding msdos 5.0 or later.

win.com does not have to be in the windows directory. It lives in the directory %windir%, which points to the directory where all of the settings are stored. You can put all of the other files in a different directory as long as it's in path. That's how a network install works. Windows will set the system directory accordingly. Most of the utilities, like progman.exe and winfile.exe can happily run out of a general pathed directory, which is neither windir or winsysdir.

If you run several different windows setups off the same system directory, (such as win.com in 3 different non-pathed directories), then you might want to look at using a dde-exec program to automatically create groups. There's a 'groups.exe' program in the norton utilities that does this. You just write a different data file for it.

I ran windows in this manner for several years without any noticable bugs.

#8 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 08:01 AM

So let's assume your autoexec.bat contains this.

SET SOUND=C:SB16
SET BLASTER
=A220 I5 D1 H5 P330 T6
SET MIDI
=SYNTH:1 MAP:E
C
:SB16DIAGNOSE /S
C
:SB16MIXERSET /P /Q
@ECHO OFF
PROMPT $p$g
PATH C
:NDO2000;C:WINDOWS;C:DOS
SET TEMP
=C:DOS
REM C
:WINDOWSWIN
REM CD
WIN

You get this after a while.

C:_

You type in

win (enter)

And windows starts up?

Yes!


Does the C:ndo2000 folder contain a win.bat, win.com or win.exe?

Did you create a win.exe or bat file in the root folder?

No there are no such files.



Can you do the following.

Paste the 4 commands below in the command prompt and paste the contents of test.txt in this forum.

cd
dir win.* /s > test.txt
tree >> test.txt
set >> test.txt

First command goes to C: (just in case)
The second command should look for all instances of win on your system in all folders and copy then to test.txt
The third command should give a tree of all the folders and append them to test.txt
The fourth command should give a overview of all variables defined in autoexec.bat and append them to test.txt

I didnt know this commands. Thanks.

#9 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 08:03 AM

Thanks Wendy! Thanks Kannibaal!
Found solution. Will post in a sec.

Before you all posted I was messing with the bat some more and found what was making it jump into DOS prompt and not into WIndows.

#10 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 08:11 AM

What I had

C:WINDOWSMSCDEX.EXE /S /D:MSCD000

C:WINDOWSnet start

C:DOSSMARTDRV.EXE /X

C:DOSIDLE.EXE

SET SOUND=C:SB16

SET BLASTER=A220 I5 D1 H5 P330 T6

SET MIDI=SYNTH:1 MAP:E

C:SB16DIAGNOSE /S

C:SB16MIXERSET /P /Q

@ECHO OFF

PROMPT $p$g

PATH C:NDO2000;C:WINDOWS[s];C:DOS[/s]

[s]::SET TEMP=C:DOS[/s]

::C:WINDOWSWIN

[s]::CD[/s]

[s]WIN[/s]





What worked. Took out the ;C:DOS line from
PATH C:NDO2000;C:WINDOWS;C:DOS

So now Either of the following works to Boot into WIndows. :cheerleader:
C:WINDOWSWIN
or
WIN

Working autoexec.bat

C:WINDOWSMSCDEX.EXE /S /D:MSCD000

C:WINDOWSnet start

C:DOSSMARTDRV.EXE /X

C:DOSIDLE.EXE

SET SOUND=C:SB16

SET BLASTER=A220 I5 D1 H5 P330 T6

SET MIDI=SYNTH:1 MAP:E

C:SB16DIAGNOSE /S

C:SB16MIXERSET /P /Q

@ECHO OFF

PROMPT $p$g

PATH C:NDO2000;C:WINDOWS

C:WINDOWSWIN


or

C:WINDOWSMSCDEX.EXE /S /D:MSCD000

C:WINDOWSnet start

C:DOSSMARTDRV.EXE /X

C:DOSIDLE.EXE

SET SOUND=C:SB16

SET BLASTER=A220 I5 D1 H5 P330 T6

SET MIDI=SYNTH:1 MAP:E

C:SB16DIAGNOSE /S

C:SB16MIXERSET /P /Q

@ECHO OFF

PROMPT $p$g

PATH C:NDO2000;C:WINDOWS

WIN


Ah! Nostalgia. Sweet.

Im running Calmira II with WIndows 3.11.

#11 Kannibaal

Kannibaal
  • Members
  • 3 posts
  •  
    Netherlands

Posted 02 March 2012 - 08:55 AM

Glad it works!

You could change the path so that c:dos is the last place to search. Should you have a need to use some DOS commands.

i.e.

path=c:windows;C:NDO2000;C:DOS

Never heard of Calmira II before, looks interesting, makes win3.1 look more like windows 95.
It would be something I would have messed with if I had known it 13+ years ago.

Trip down memory lane indeed!

#12 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10452 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 02 March 2012 - 09:31 AM

Glad to hear this. Post some screenshots of Calmira, I would also like to revive good memories.
:cheers:

#13 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 10:49 AM

Screenshots
Browsers do not pass the mustard on loading Reboot.pro. Both IE 5 and Netscape 4.08 crash.
1.jpg 1a.jpg 2.jpg 3.jpg 4.jpg 5.jpg 6.jpg 7.jpg 8.jpg
  • Nuno Brito likes this

#14 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10452 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 02 March 2012 - 10:55 AM

So nice, can you move the screenshot post to the screenshots forum section as a new topic? http://reboot.pro/forum/25/

Maybe Opera can help: http://browsers.evol...opera/win16/362

This is definitively worth keeping around.
:cheers:

#15 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 10:56 AM

Glad it works!

You could change the path so that c:dos is the last place to search. Should you have a need to use some DOS commands.

i.e.

path=c:windows;C:NDO2000;C:DOS

Never heard of Calmira II before, looks interesting, makes win3.1 look more like windows 95.
It would be something I would have messed with if I had known it 13+ years ago.

Trip down memory lane indeed!

In this case
path=c:windows;C:NDO2000;C:DOS

doesnt work. It auto kicks me to DOS Prompt instead of auto booting to windows.

When I use this line Windows auto boots.
path=c:windows;C:NDO2000

#16 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 10:57 AM

So nice, can you move the screenshot post to the screenshots forum section as a new topic? http://reboot.pro/forum/25/

Maybe Opera can help: http://browsers.evol...opera/win16/362

This is definitively worth keeping around.
:cheers:


Ill test when i wake up. :loleverybody:

#17 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 02 March 2012 - 12:33 PM

Have you tryed to disable javascript?

:cheers:

#18 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 02 March 2012 - 09:10 PM

Have you tryed to disable javascript?

:cheers:

Same Crash result when disabling Internet Explorer Javascript option.

Trying Opera.
Downloading and Installing
1.jpg 2.jpg 3.jpg 4.jpg 5.jpg

Going to Reboot with Default settings = Server Certificate expired and Opera Browser CRASH
6.jpg 7.jpg 8.jpg


Changed some settings to disable some of the loaded things.
6a.jpg 9.jpg

Disabled-
Do not load and show images
Enable Animation
Enable Video Presentation
Enable Background Sound and Music
Enable Plugins
Enable Scripting Languages


Trying to load Reboot.pro SUCESS!
A little Funky but it loads up.
Top of page
10.jpg

Scrolling down a bit, you can see the topics being on the front page.
11.jpg 12.jpg

Going to the Win9x subforum. At first it wouldnt load up. So i selected the second little icon on the bottom left and that help to start the loading of the page. Then I clicked it off and loaded ok too. Put option for images on.
Bottom left shows button with a description about the image option loading on page
14.jpg

Shows the loading of Reboot Win9x section
13.jpg

Scroll down and you can see MedEvil in the neighborhood.
15.jpg

Going in to the topic. TheHive,Kannibaal,Nuno Brito, wendy[No pic showing], and at the top before these images MedEvil.
16.jpg 17.jpg 18.jpg 19.jpg

went to option to enable "Do not load and show images"
and there is Wendy
20.jpg



Overall Opera wins between the three old browsers. Opera gave more easy options to disable things. This seemed to allow the loading of Reboot.pro.

Screenshots for Test after post of this
21.jpg 22.jpg


Google shows up and Google Image in Opera.
a.jpg

and in order to move in files to Windows 3.11 from the host the program
HFS ~ Http File Server
Was used
Website of program HFS
http://www.rejetto.com/hfs/?f=dl

#19 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 03 March 2012 - 12:43 AM

Long File Name Support.
long file names working on Windows 3.11
http://vogons.zetafl...pic.php?t=24413

Installing Program, Canceling install. Need to backup WIndows 3.11 doing a Snapshot, just in case something goes wrong.
1a.jpg 1.jpg 2.jpg

Ok! Ready. Let do it.
Based on the screenshot. Found that
2.jpg
Good Idea for the time.

CommEx v1.20, a Windows 3.1 add-on utility which adds file management functions to the file open and save dialogs of most Windows applications. CommEx (which is a short name for Common Dialog Extensions) replaces the common dialog DLL that comes with Windows 3.1, so any application which uses this DLL for its File-Open and File-Save dialogs will benefit from CommEx. (This DLL has been a standard for several years, so most modern applications use it.)



#Norton Desktop 2.0 Adds Options to Windows 3.1 File Manager



Win3D transforms your desktop into 3d.


Installing
3.jpg
View Windows 3.11 GPF Sample error
4.jpg
View Windows 95 GPF Dialog Sample error
5.jpg

Continued Install
6.jpg 7.jpg 8.jpg 9.jpg 10.jpg 11.jpg

What it offers. Good stuff!
12.jpg
13.jpg

#20 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 03 March 2012 - 01:20 AM

Wow Opera 3.62. Was that the last to work in Win3?
Opera only started to become good with version 4.

:cheers:

#21 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 03 March 2012 - 01:53 AM

Using a MinWin Floppy Windows 3.11 Rescue PE I can rescue the Data on WIndows 3.11 for Workgroups. :loleverybody:

Desktop of MiniWin
1.jpg

A Drive Floppy contents
2.jpg

E Drive Contents Extracted from A Floppy Drive
3.jpg

C Drive: Lets Start Rescuing Data
4.jpg

#22 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 03 March 2012 - 02:34 AM

Wow Opera 3.62. Was that the last to work in Win3?
Opera only started to become good with version 4.

:cheers:

It seems that way. Had to get a bit use to it. A bit rough but worked best in the test.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users