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?
timtowAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

My name is MudSystems EngineerCommented:
Use Himem and emm386 in config.sys
ex.

device=c:\himem.sys
device=c:\emm386.exe noems
0
GleasonGuyCommented:
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.
0
timtowAuthor Commented:
I have already deleted the windows directory, so do you know how i can do this through dos?
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

GleasonGuyCommented:
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.
0
CerberusCommented:
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.
0
kaytonCommented:
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.
0
timtowAuthor Commented:
What is the command to run memmaker? Is it just C:\memmaker?
0
kaytonCommented:
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.
0
GleasonGuyCommented:
Did you originally have 95 or 98 loaded on your machine and then just delete the windows directory?
0
timtowAuthor Commented:
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.
0
GleasonGuyCommented:
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.
0
RandybCommented:
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
0
RandybCommented:
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


0
RandybCommented:
Oh yeah...deleting the windows directory doesnt clear the registry and this is what Win98 detects also. Best format the drive !
0
GleasonGuyCommented:
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.
0
timtowAuthor Commented:
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!!!
0
RandybCommented:
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.
0
GleasonGuyCommented:
Randyb, No harm. No foul.

Originally it looked like a HD space issue, but then timtow said he deleted the Windows98 directory. Then it looked just like an issue of reloading Windows from scratch.

As for the references to DOS, I just figured they were talking about trying to do stuff from a DOS box, or from the command line when booting from a start disk.

Solution: reformat, reload, relax. :-)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
timtowAuthor Commented:
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.....
0
timtowAuthor Commented:
Thanks again!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.