Downloads |
---|
memory.zip |
Download memory.zip.
When you type:
memory.exe
at a command prompt, it returns:
Physical memory is nnnnnnnnn bytes
To use the number of bytes in a batch, call memory.bat instead, which sets the arithmetic environment variable memory.
memory.bat contains:
@echo off
for /f "Tokens=1-5 Delims= " %%i in ('memory.exe') do set /a memory=%%l
0 comments
Hide comments