I would like to know that how we can check the available memory in batch script? Is there any method already available? If it is not possible in batch script then is there any other way by which we can get the memory available?
OS: Windows XP / Windows 7
This site has a sample VBScript that retrieves the total amount of memory:
It can be adapted to report the available amount of memory:
You can run it by saving it to a file with extension
.vbs(e.g.memory.vbs) and running it with cscript.exe, e.g.:…to get output like: