brianashman
Technical User
On the W2K Scripting Guide at
in listing 6.1 there is a script example for displaying the amount of memory installed in a machine. The results given are in KB. When divided by 1024 to get MB, the answer is not an integer.
I have also found this to be the case on my own machines with XP (SP1) & W2K (SP2). My XP machine has 1280MB, but reports 1309772KB instead of 1310720KB.
What is the cause?
What would be the best way to find the true amount of memory installed?
in listing 6.1 there is a script example for displaying the amount of memory installed in a machine. The results given are in KB. When divided by 1024 to get MB, the answer is not an integer.
I have also found this to be the case on my own machines with XP (SP1) & W2K (SP2). My XP machine has 1280MB, but reports 1309772KB instead of 1310720KB.
What is the cause?
What would be the best way to find the true amount of memory installed?