Re: Registry question
- From: "Wesley Vogel" <123WVogel955@xxxxxxxxxxx>
- Date: Sat, 13 Jan 2007 13:02:23 -0700
I cannot find a download for this.
Save the lines below in Notepad.
-------------------below here----------------
'FreeMem.vbs - Bill James
For Each o in GetObject("winmgmts:\\.\root\cimv2")._
ExecQuery("Select FreePhysicalMemory from Win32_OperatingSystem")
WScript.Echo "Free Physical Memory: " & o.FreePhysicalMemory
Next
-------------------abve here----------------
Then save it as FreeMem.vbs
Double clicking FreeMem.vbs will bring up something like this:
---------------------------
Windows Script Host
---------------------------
Free Physical Memory: 173272
---------------------------
OK
---------------------------
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:AFE47634-C141-4E1A-A15D-F2E8681DD8D5@xxxxxxxxxxxxx,
Stevec <Stevec@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
Ken;.
Thanks for the reply.
I was hoping to use the registry key info in another program
that would display it.
Hence that was why I was looking for it in the registry. I realize that
it's actually a process, but was hoping to capture the info.
Thanks for the reply.
SteveC
"Ken Blake, MVP" wrote:
Stevec wrote:
Is there a registry key that I can get the following info from.
Total Physical memory
No registry key is needed. Just right-click on My Computer and choose
Properties. It will show you how much memory you have there.
Free Memeory
That number is normally zero, or close to it, and should not be of any
concern to you. Despite what you may have heard, trying to make that
number bigger is not a worthwhile objective. Windows is designed to use
all, or nearly all, of your memory, all the time, and that's good not
bad. Free memory is wasted memory. You paid for it all and shouldn't
want to see any of it wasted.
Windows works hard to find a use for all the memory you have all the
time. For example if your apps don't need some of it, it will use that
part for caching, then give it back when your apps later need it. In
this way Windows keeps all your memory working for you all the time.
--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup
- References:
- Re: Registry question
- From: Ken Blake, MVP
- Re: Registry question
- Prev by Date: Random Hibernation issue - Gateway 4026gz laptop prismx
- Next by Date: Re: On screen character different to keyboard key character
- Previous by thread: Re: Registry question
- Next by thread: RE: Problem Installing Xp on New HD
- Index(es):
Relevant Pages
|