Executing a file in a DOS window...program too big?

fastman

Golden Member
Oct 9, 1999
1,521
4
81
When I try to execute warcraft.exe in a DOS window I get the below?

"Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>"C:\Program Files\KaZaA Lite\My Shared Folder\warcraft3\warcraft.exe"
Program too big to fit in memory

C:\>"

Too big? The file is 723,459KB in size.
 

boran

Golden Member
Jun 17, 2001
1,526
0
76
why for the love of god do u want to run a 32 bit application whitin an 8 bit operating system, IF it would fit in the allocated memory of DOS if wouldn run anyway scince it cannot intitialise the directX or openGL modes (I dunno what warcraft 3 uses but it's 3D so it's one of those 2) from within dos.

 

fastman

Golden Member
Oct 9, 1999
1,521
4
81
Well when you click on this file a DOS window flashes on then off, so I assumed it wants to be run from there? I've seen this with other programs too. So what I do is open a DOS window drag the file in the window and run it from there, usually this works, but the "Program too big to fit in memory" has got me stumped?
 

Cuular

Senior member
Aug 2, 2001
804
18
81
This happens a lot when you have more than 512MB of memory in a pre winNT windows install.

Basically by default windows will use all your extra memory for disk cache uses. It just so happens that the memory it uses for that is also shared with where DOS programs get their memory mapped to. The limit of this address space is 1GB, and disk caching uses 32bit pointers or 4 bytes each. so the 1GB of space can hold 256MB worth of pointers. So if it was using 256MB worth, then it burns the 1GB of usable address space up. So if you didn't change the win.ini and have 768MB memory, then you are probably being burned by this. This of course assumes you are running win95/98/Me. If not then it is some other problem.

EDIT: Never mind going back and looking I see you have win2k. So this should not be the problem.
 

boran

Golden Member
Jun 17, 2001
1,526
0
76
the window u see opening and closing is not a dosbox, but an initialisation of the rendering engine.
win2K has no dos anyway, it's just a command prompt of the OS, it has no connection with dos whatsoever (besides the looks maybe, but even those are different)

so what exactly are u trying to achieve ?

 

fastman

Golden Member
Oct 9, 1999
1,521
4
81
You are correct boran, it is not a "DOS Window" it is a Command Promt i.e., CMD from the RUN window. I just labeled it as such for easy understanding, or so I thought.

Anywho, as I stated in my second post I'm trying to run this file witch has an .exe extention? When I attempt to a Command Prompt window flashes on and off of my screen and I get the following message, "Program too big to fit in memory".
 

stevewm

Senior member
Dec 6, 2001
742
1
0
The file your trying to run is most likely corrupted. I've seen this behavior MANY times with corrupted EXE files. A DOS/Console window flashes on the screen and then nothing.

If ran from a CMD prompt I get the same error you get and sometimes I get one saying "Not A Valid Win32 Application".


Try re-downloading the file.