Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how much RAM by code?

Featured Replies

I was wondering ...

for the Windows 98 environment, ie before Win2K which has this feature built in, has anyone heard of or seen any sign of a way to tell how much RAM your system has, using code? I want to run a batch file that allows a variable to be set according to how much RAM is present.

I could cheat and ask for user input, but that's way inelegant and thus not sufficient for this project - only the best will do!!

Who will rise up to the challenge? Come on you legend you ...


Use a VB script (WMI is required also):

strComputer = "."
Set wbemServices = GetObject("winmgmts:\\" & strComputer)
Set wbemObjectSet = wbemServices.InstancesOf("Win32_LogicalMemoryConfiguration")
For Each wbemObject In wbemObjectSet
   WScript.Echo "Total physical memory (KB): " & wbemObject.TotalPhysicalMemory
Next

  • Author

excellent, thanks for that ...

I was hoping to do it at the stage when msbatch.inf executes, which is way before the windows GUI loads but its not important when it occurs ... this is for the purpose of setting the vcache in system.ini ... so, is there a way to us that VB script to update the system.ini based upon how much RAM is present after setup reaches the first boot to the desktop?

(by the way I have never used VB scripts before - can get give some links on how to learn, or give me more info, please!) B)

Edited by soporific

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.