My setup: on XP I use a LNK (not PIF) to cmd.exe which kicks off ntvdm.exe. (By the way the window and LNK Properties do not have a Memory tab; the properties with a window opened by a PIF DOES have that tab.) The LNK target does not do /E; system32\config.nt does not do /E on SHELL; COMSPEC has no /E; system.ini does not have CommandEnvSize. c:\autoexec.bat and config.sys are 0 bytes. And grr, I can't find the answer in Control Panel/system (or administrative tools). So, I'm embarrassed to say, I'm not sure where I'm setting it, or how big it is :redface:
Is below one correct way to see how much is unused/available, by running MEM /PROGRAM ? Partial results:
Code: Select all
addr name size type
004C40 COMMAND 0004F0 Environment
005140 MEM 000430 Environment
005580 MEM 0174E0 Program
430h = 1072 (BTW 5580h minus 5140h is 1088)
So am I using 1072 of 1264? (I was under the belief that only the "used" space is propagated to programs?)
BTW on MEM /C the largest executable is 1200 bytes less than "Total FREE" there. Coincidence?
Sorry to ask such a 101 question but I just can't remember since I last set up XP 15 years ago. I did spend a very large amount of search time before giving up and asking.
Bonus: is config.nt SHELL where I should modify it?