Computer Hope

Microsoft => Microsoft DOS => Topic started by: Neelix on October 13, 2022, 02:01:47 AM

Title: Dealing with startup files
Post by: Neelix on October 13, 2022, 02:01:47 AM
Hi,

I'm modifying a startup floppy based on MS-DOS 7.1 and Windows 3.11.

Therefore, I need to launch some DOS commands to extract drivers so that CONFIG.SYS could load them.

e.g. EMM386, that I need to compress to gain place on the disk. It is needed to get upper memory. Without that, the system couldn't be extracted from the CAB file I created.

Could someone help, please ?
Title: Re: Dealing with startup files
Post by: DaveLembke on October 18, 2022, 06:33:40 PM
What are the specs of the computer and is your intent to having everything run within the limitations of the 1.44MB floppy or is this going to build to a hard drive at C:  ?
Title: Re: Dealing with startup files
Post by: Neelix on November 18, 2022, 07:53:33 AM
Hi,

Thank you for your interest on my problem.

Sorry, I didn't access the forum the last times.

Actually, I'm working on a virtual machine. I tried on virtual box, as well as PCEM machines with 16MB RAM and, for the PCEM
machines, Intel 486DX33 processor and IDE HDD and CDROM.

The system is intended to load into a 3072kB ramdrive.
Title: Re: Dealing with startup files
Post by: patio on November 18, 2022, 08:30:17 PM
Post your current autoexec bat and config files...
Title: Re: Dealing with startup files
Post by: Neelix on November 19, 2022, 06:34:27 AM
Here are my startup files.
AUTOEXEC.BAT:
Code: [Select]
@ECHO OFF
SET RAMDRIVE=?:
LH TDSK.EXE

ECHO Extraction des fichiers de Winlight ...
LH EXTRACT /E /L %RAMDRIVE%\ Winlight.cab >nul
%RAMDRIVE%

GOTO %config%

:WINLIGHT
:NOUSB
LH KEYBFR.COM
:NOKEYB
IF NOT %config%==NOUSB LH DUSELDR.COM DUSE.EXE
LH MSCDEX.EXE /D:CDROM001 /D:USBCDROM

:MINI
PATH=%RAMDRIVE%\WINSYS;%RAMDRIVE%\
SET TEMP=%RAMDRIVE%\TEMP
LH DOSIDLE.EXE
CLS
ECHO Winlight Deluxe par Tomb Core - www.win3x.org
ECHO Doslight : base MS-DOS 7.1
ECHO Winlight : base MS Windows pour Workgroups 3.11
ECHO Noyau Windows 3.1 386 en mode standard
ECHO Tapez 'win' pour d‚marrer Winlight Deluxe
IF %config%==WINLIGHT WIN

CONFIG.SYS:
Code: [Select]
[MENU]
MENUITEM=WINLIGHT, Demarrer Winlight (d‚faut)
MENUITEM=NOUSB, Sans USB Mass Storage
MENUITEM=NOKEYB, Sans clavier francais
MENUITEM=MINI, Demarrer Doslight minimum
MENUDEFAULT=WINLIGHT, 5
MENUCOLOR=1,4

[COMMON]
DEVICE=HIMEM.SYS /TESTMEM:OFF
DOS=HIGH
DEVICEHIGH=TDSK.EXE 3072 /E

[WINLIGHT]
DOS=UMB
DEVICEHIGH=CDROMDRV.SYS /D:CDROM001

[NOUSB]
DEVICE=HIMEM.SYS /TESTMEM:OFF
DEVICEHIGH=CDROMDRV.SYS /D:CDROM001

[NOKEYB]
DEVICE=HIMEM.SYS /TESTMEM:OFF
DEVICEHIGH=CDROMDRV.SYS /D:CDROM001

[MINI]
DEVICE=HIMEM.SYS /TESTMEM:OFF