Link to home
Start Free TrialLog in
Avatar of timtow
timtow

asked on

DOS: Largest Exec. Prgm Size message

I was trying to reload Windows 98 when I rec'd the following
Message: "Windows setup requires 'Largest Executable Program Size' to be at least 442368 bytes to run".
How do I access this and change it using DOS?
Avatar of My name is Mud
My name is Mud

Use Himem and emm386 in config.sys
ex.

device=c:\himem.sys
device=c:\emm386.exe noems
You either do not have enough free hard drive space or you need to defrag your hard drive.

Double-click on "My Computer", then right-click on your hard drive and select "Properties". See how much free space you have. If it is smaller than the number you gave above, then you must uninstall or delete some files to make room.

If the free space is larger than the number you gave, then you need to defrag your hard drive to get a larger block of contiguous space. Select Start \ Programs \Accessories \ System Tools \ Disk Defragmenter.
Avatar of timtow

ASKER

I have already deleted the windows directory, so do you know how i can do this through dos?
Yikes!

Do you have a Win98 Startup Disk?

If so, boot off that disk, then reformat your hard drive and reload 98.

If not, try to find another 98 machine (possibly the one you're posting from) and make a startup disk. You do this by going to Control Panel, then Add/Remove Programs, then the Startup Disk tab.

Good luck.
You could try running MemMaker before you install Windows 98, this will free up as much memory as it can, and hopefully enough to install it.
You can also REM out all the unneeded lines in the CONFIG.SYS and AUTOEXEC.BAT files.  Make sure to leave the line with HIMEM.SYS in it.  You might also need to add the line
DOS=HIGH,UMB just after the call to HIMEM.SYS and EMM386.EXE.
Avatar of timtow

ASKER

What is the command to run memmaker? Is it just C:\memmaker?
memmaker will be in your C:\DOS or C:\Windows\COmmand directory.  It is built into MS-DOS 6.2 and 6.22.  To run the program, go to the directory that contains MEMMAKER.EXE and type MEMMAKER.  Take the defaults.
Did you originally have 95 or 98 loaded on your machine and then just delete the windows directory?
Avatar of timtow

ASKER

Yes, I was going to reload windows98 because I thought that would solve some performance issues.  I deleted the windows directory because setup on the Windows 98 disc would not let me reload it.
In the future, you should never just delete an application's (or operating system's) directory. You should always use add/remove programs or uninstall to remove applications.

Is there information that you need that is still on the harddrive?

If there is, try to copy it to floppies or otherwise back it up. This might be tough with a missing OS. ;-)

If not, I would reformat the hard drive and then run Windows setup.

You will need a Windows 98 startup disk. Do you have one of these?

If not, is there a Windows 98 machine you can make one on? You can go to Control Panel / Add\Remove Programs / Startup Disk to make one.
OH ...another note...once installed you can reload your config.sys and autoexec.bat files from the floppy ...that is if you need them for your applications to work ...if not DONT !

DOS IS DEAD boys and Girls !

OK ..it has a little life left ...but not for most home systems anymore ....sure felt good saying that though !

Randy
Oh man ..I had this all typed up and lost it somewhere ...
OK so my two comments are outta sync now ...read this one then the one above.
(i am summarizing because that was a lot of typing I lost before ...sorry)

#1 - This is NOT a disk space issue
#2 - So you already wiped your system by deleting windows...GOOD
#3 - DOS is DEAD...Win98 doesnt use it neither should you.
#4 - Memmaker is invalid in Win98
#5 - Autoexec.bat and config.sys are not neeeded by Win98, if they are it will build them (or your applications will), whatever is in them now is most likely invalid due to a non-valid dos version.
#6 - Any previous version of dos will be conflict with 98-dos sessions.

OK ...so DOS is not needed ...except for games you may have .
Win98 will handle THAT after installing.

Save your autoexec.bat and config.sys to floppy disk.

Insert a Win98 startup disk and run format. Wipe your drive clean (save your needed files first of course).
Let Win98 take control of the system and then reload your applications/Games/???.  If needed reload your config.sys and autoexec.bat files back to C: from the floppy (note that there WILL be conflicts in them).

OK ..again ..>DOS and DOS files are NOT needed by Win98 ...lose them !
Any previous DOS version will hose 98 !

Good Luck !!
Randy


Oh yeah...deleting the windows directory doesnt clear the registry and this is what Win98 detects also. Best format the drive !
Randyb, Aren't you saying the same thing I said (minus the DOS rant, of course).

timtow, have you had any luck reloading Win98? We haven't heard from you in almost a week.
Avatar of timtow

ASKER

I haven't had a chance to do anything on this yet.  I've been out with the flu bug.  And when I've been in the office I've been flooded with other things(like answering questions about the dreaded Y2K bug).  I will try to get to this tomorrow.  Thanks for all the help, I hope it all works!!!
dear Gleason Guy,
maybe I am...but DOS is not a part of Win98 and nobody had seemed to point that out. Installing DOS and win98 together is not a good idea ...that is the primary point of my posts and most likely the cause of this persons headaches. But I really dont mind if you get the points ...that is not my concern. Sorry if you felt slighted.
WAIT ..I just read back,werent you the one that brought up the hard drive ???
NO ...what I am saying has nothing to do with your posts...this is a 640K memory block allocation error that is eliminated by taking out DOS. But in the end yes, reinstall 98 from scratch on a formatted drive...correct. Some people just want to know why thats all.
ASKER CERTIFIED SOLUTION
Avatar of GleasonGuy
GleasonGuy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of timtow

ASKER

Thanks so very much for your help!!!
I reformatted the drive and reloaded windows.
Then I reloaded all the software and files that I had
backed up.  It now works great!  The user is very
happy and not having any more problems.
This PC is located at the fire station and I think one
of the firemen likes to "dabble" in PC's.  And I think
he loaded an old version of DOS on this machine.
That's when we started having problems.
Thanks again for your help!
I hope you all have a great holiday season.....
Avatar of timtow

ASKER

Thanks again!