Computing.Net > Forums > Windows 3.1 > autoexec and config order?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

autoexec and config order?

Reply to Message Icon

Name: Jill H
Date: August 13, 2002 at 14:41:04 Pacific
Comment:

dos 622, win 311 old packard bell for friend. Installed new HD, formatted, dos, os, installed cd all up and running. (Would not read size of new HD so emulated as two hard drives in setup.) HD 700+mb total, split in half. Windows runs, the problem is it says it has no memory to do anything. So I figure something is loading wrong\out of order. The cd was loaded before I compressed the drives. I don't understand in what order these things should be in. Here is my autoexec and config files give or take a few spaces typed wrong.

autoexec.bat
LH /L:o;1,45456 /S C:\Windows\Smartdrvv.exe
LH /L:1,46640 C:\SBPRO\DRV\MSCDEX.exe /V /D:MSCD001 /M:15
@echo off
Prompt $p$g
Path C:\Windows:C:\DOS
set temp=C:\DOS


config.sys
Device=C:\DOS\himen.sys
Sevice=C:DOS\EMM386.exe noems win=DC00-DFFF
Buffers=15,0
Files=30
DOS=UMB
Lastdrive=Z
FCBS=4,0
Devicehigh /L:1,12048 =C:DOS\setver.exe
DOS=high
Shell=C\DOS\command.com C:\DOS\ /p
Device=C:\DOS\DRVSPACE.sys /move
Device=C:\Windows\IFSHLP.sys
Stacks=9,256
Device=C:\SBPRO\DRV\SBPCD.sys /D:mscd001 /p:220


If someone could help me out I would appreciate your time, thank you in advance.




Sponsored Link
Ads by Google

Response Number 1
Name: tech-fred
Date: August 13, 2002 at 16:21:10 Pacific
Reply:

Why did you compress the drive?

How much memory does the system have?

If you run MEM what does it report?


0

Response Number 2
Name: beddyoisken
Date: August 14, 2002 at 01:16:29 Pacific
Reply:

Hello Jill H,
You could try this enclosed configuration, but I recommend you have a boot-up floppy, and back up your existing autoexec.bat and config.sys files just in case it doesn't work correctly. I'd suggest this:

autoexec.bat
@echo off
C:\dos\smartdrv.exe
LH C:\SBPRO\DRV\MSCDEX.exe /V /D:MSCD001 /M:15
Prompt $p$g
Path C:DOS;C:\Windows
set temp=C:\DOS

config.sys
device=C:\DOS\himem.sys /testmem:off
device=C:DOS\EMM386.exe noems
Buffers=15,0
Files=30
DOS=HIGH,UMB
Lastdrive=Z
FCBS=4,0
Stacks=9,256
Shell=C\DOS\command.com C:\DOS\ /p
Devicehigh=C:DOS\setver.exe
Devicehigh=C:\DOS\DRVSPACE.sys /move
Devicehigh=C:\Windows\IFSHLP.sys
Devicehigh=C:\SBPRO\DRV\SBPCD.sys /D:mscd001 /p:220

Drivespace can be a bit of a memory hog.
If everything starts up okay, do a MEM /C /P to see how much memory you have left, and where devices are in memory.
HTH.
Regards.


0

Response Number 3
Name: Dan Penny
Date: August 14, 2002 at 09:14:56 Pacific
Reply:

A couple of things I'd suggest;

For the following files, do a search (ie; dir/s/p himem.sys) and note the date and location of them:

himem.sys, emm386.exe, smartdrv.exe, mscdex.exe

Using the lateset/most up to date file that you find, overwrite the others in the other locations with that latest file,
OR,
ensure your startup files give the path to those most up to date files. 6.22 should be more up to date than the 3.11 versions.

Mscdex (again, the most up to date file) should be loaded prior to smartdrv.

Uncompress your drive. This is where a good portion of your memory is going. (Hence the driverline for drvspace is remarked out in config.sys)

Make a seperate temp directory from c:\dos. (ie; at the c:\> prompt, type md temp)

Then, (after backing up your current files) try the following;

config.sys
===========
device=C:\DOS\himen.sys
device=C:DOS\EMM386.exe noems frame=none I=B000-B7FF win=DC00-DFFF
Devicehigh=C:\SBPRO\DRV\SBPCD.sys /D:mscd001 /p:220
Devicehigh=C:DOS\setver.exe
;Device=C:\DOS\DRVSPACE.sys /move
;Device=C:\Windows\IFSHLP.sys
Stacks=9,256
dos=high,umb
SHELL=c:\COMMAND.COM c:\ /E:432 /p
break=on
switches=/f
;Buffers=15,0 (Smartdrv does a better job)
Files=30
FCBS=4

autoexec.bat
==============
@echo off
C:\SBPRO\DRV\MSCDEX.exe /V /D:MSCD001 /M:15
C:\dos\Smartdrv.exe 4096 16
Prompt $p$g
Path c:\;C:\DOS;C:\Windows;
set temp=c:\temp
set tmp=c:\temp
SET COMSPEC=C:\COMMAND.COM
SET DIRCMD=/A/O/P
SET COPYCMD=/V/-Y
exit


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Sound not working CD Audio in Windows 3.1



Post Locked

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


Go to Windows 3.1 Forum Home


Sponsored links

Ads by Google


Results for: autoexec and config order?

AUTOEXEC.BAT and CONFIG.SYS files were changed to AUTO.FX and CONFIG.FX www.computing.net/answers/windows-31/autoexecbat-and-configsys-files-were-changed-to-autofx-and-configfx/1969.html

config & autoexec www.computing.net/answers/windows-31/config-amp-autoexec/7772.html

autoexec.bat config.sys for win 3.1 www.computing.net/answers/windows-31/autoexecbat-configsys-for-win-31/1984.html