When running the program 'more' (more.exe) from a command prompt, the message
"Not enough memory."
appears.
- How does command prompt memory work in Windows 7?
- Can a user assess how much memory is available?
- Is the message really about shortage of memory or a symptom of something else?
0. The command is indeed a PE file (.exe), but for backwards-compatibility is named more.com.
2. Not (directly) in current versions of Windows. In older versions (up to XP), you could use the mem command (e.g., mem /c), but that is no longer available. Now, you would have to use a third-party tool. Even then, it’s not really necessary because…
3. This issue is indeed not about a memory shortage and is indeed a symptom of something else:
You are likely using a different code-page, probably Unicode. You can verify this by running the chcp command (with no arguments). It will probably return 65001 (UTF-8).
Now try switching to CP437 (by running chcp 437) and then run more.com. It should work now.
It seems that using a Unicode code-page breaks some functionality. It is likely that the more command was not updated to support multi-byte character sets, so unfortunately, you will have to stick with another code-page.
Here are two threads with some technical discussion on the matter.