Need help with my Autoexec.bat and Config.sys files!

General discussion for all topics related to DOS, Windows, Linux, consoles, etc. Anything to do with games.
Post Reply
Matozoide
Newbie
Newbie
Posts: 6
Joined: Sat Jun 05, 2004 7:44 pm

Need help with my Autoexec.bat and Config.sys files!

Post by Matozoide »

I've recently tried adding a driver for my CD drive (and failed) and ever, since, my computer's been slightly slower :blah: .It's a 486/33, Win 3.1 and DOS 6.something, Sound Blaster 16 sound card. I'm gonna post what's in my autoxec and config files, could anyone tell me if there's something I don't need.All I want is to be able to run it like it would normally, play games, and have the sound working, nothing more :shifty:.
Autoexec.bat
@ECHO OFF
C:\WINDOWS\SMARTDRV.EXE
MODE CON CP PREP=((850) \DOS\EGA.CPI)
MODE CON CP SEL=850
LH \DOS\KEYB.COM CF,,\DOS\KEYBOARD.SYS
REM LH \DOS\DOSKEY.COM
LH \DOS\SHARE.EXE
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
SET SOUND=C:\SB16
SET BLASTER=A220 I5 D1 H5 P330 T6
SET MIDI=SYNTH:1 MAP:E
SET CTCM=C:\CTCM
C:\SB16\DIAGNOSE /S /W=C:\WINDOWS
C:\SB16\MIXERSET /P /Q
C:\CTCM\CTCU /S /W=C:\WINDOWS
SET PATH=C:\GMOUSE;%PATH%;C:\WINDOWS
SET GMKW5=C:\GMKW
LH /L:2,21248 C:\GMOUSE\GMOUSE.COM 1*5
PROMPT $P$G
REM WIN:
cls
Config.sys
DEVICE=C:\DOS\HIMEM.SYS
DOS=HIGH, UMB
DEVICE=C:\DOS\EMM386.EXE RAM HIGHSCAN
DEVICE=C:\CTCM\CTCM.EXE
LASTDRIVE=C
COUNTRY=002,850 C:\DOS\COUNTRY.SYS
REM DEVICEHIGH /L:2,15792 =C:\DOS\DISPLAY.SYS CON=(EGA,,1)
DEVICEHIGH=C:\DOS\ANSI.SYS
REM DEVICEHIGH=C:\DOS\SETVER.EXE
REM DEVICE=\PATH\SMARTDRV.EXE /DOUBLE_BUFFER
FILES=40
REM FCBS=1
BUFFERS=20
REM STACKS=9,256
BREAK=ON
REM SHELL C:\DOS\COMMAND.COM \DOS\COMMAND /P /F /E:1024
User avatar
x86_Game-Junkie
Lord of Gaming
Lord of Gaming
Posts: 318
Joined: Mon May 17, 2004 5:31 pm
Location: The Bachelor Pad, Sydney Oz

Post by x86_Game-Junkie »

Windows 3.1 doesn't have CD-ROM Support, Upgrade your Windows to at least Windows 95.
User avatar
Roger
Experienced Member
Experienced Member
Posts: 68
Joined: Mon Jun 07, 2004 4:20 am
Location: Europe by the Danube

Post by Roger »

You can use your CD Drive in DOS and therefore in Win3.xx
if you add:
- to autoexec.bat
C:\MSCDEX.EXE /D:MSCD001 /E
- to config.sys
DEVICE=C:\OAKCDROM.SYS /D:MSCD001

Of course you must have the CD-Driver (oakcdrom.sys) and CD-Utility (mscdex.exe) in the specified path (C:\ - in this case).

Other drivers than oakcdrom.sys can be used. You can find them with google. Good Luck!
"in the beginning, Earth was without form and void..."
Matozoide
Newbie
Newbie
Posts: 6
Joined: Sat Jun 05, 2004 7:44 pm

Post by Matozoide »

I know it the CD Drive doesn't work, and I'm not willing to do anything about it, I was just wondering what might be bogging my computer down, it seems to be running rather slow lately, possibly something loading, or something not loading in my autoexec or config files? (It's been like this ever since I tried installing the driver.I then deleted the driver files but it still isn't running at it's full speed..)
User avatar
x86_Game-Junkie
Lord of Gaming
Lord of Gaming
Posts: 318
Joined: Mon May 17, 2004 5:31 pm
Location: The Bachelor Pad, Sydney Oz

Post by x86_Game-Junkie »

have you checked the available RAM and HDD space??
User avatar
Roger
Experienced Member
Experienced Member
Posts: 68
Joined: Mon Jun 07, 2004 4:20 am
Location: Europe by the Danube

Post by Roger »

Can't tell what would be slowing it down, but:
the entry LASTDRIVE=C forbids you from adding other drives to your system. So no matter what you would try with the cd, you couldn't make it work. You should consider changing it to LASTDRIVE = F (that would allow you to add 3 more drive letters).
"in the beginning, Earth was without form and void..."
User avatar
486 player
Gaming Demi-god
Gaming Demi-god
Posts: 1219
Joined: Wed Sep 18, 2002 6:32 am
Location: Europe

Post by 486 player »

I've workin' Oak.

Mato:

Mode con, keyb, country, ansi, share, any rem lines, ctcm, gmkw5 (I'm not sure for last 2.)

After that:

1. Delete all what thou don't need.
2. Download F-prot and scan thy hard drive.
3. skan it again with scandisk, if thou find any lost clusters, delete 'em.
4. Defragment it.
5. Keep Turbo button on.
NO Windows, NO DOSBox, DOS!
User avatar
Wally
King of the Carrot Flowers
Posts: 4714
Joined: Thu May 01, 2003 8:30 pm

Post by Wally »

wasnt there somthing to do with a banana in the mscdex thing?
Interon

Post by Interon »

The name of the driver can be almost anything

DEVICE=C:\DOS\CDROM.SYS /D:BANANA
DEVICE=C:\DOS\CDROM.SYS /D:WALLY
DEVICE=C:\DOS\CDROM.SYS /D:JMS
DEVICE=C:\DOS\CDROM.SYS /D:EMMZEE

However the name of the MSCDEX driver must match your CDROM driver

MSCDEX /D:BANANA
MSCDEX /D:WALLY
MSCDEX /D:JMS
MSCDEX /D:EMMZEE
Post Reply