총 commit charge를 찾고 있습니다. 당신이 CScript를 아래에서이 스크립트를 실행하면수수료를 프로그래밍 방식으로 찾는 방법?
strComputer = "."
Set objSWbemServices = GetObject("winmgmts:\\" & strComputer)
Set colSWbemObjectSet = _
objSWbemServices.InstancesOf("Win32_LogicalMemoryConfiguration")
For Each objSWbemObject In colSWbemObjectSet
Wscript.Echo "Total Physical Memory (kb): " & _
objSWbemObject.TotalPhysicalMemory
WScript.Echo "Total Virtual Memory (kb): " & _
objSWbemObject.TotalVirtualMemory
WScript.Echo "Total Page File Space (kb): " & _
objSWbemObject.TotalPageFileSpace
Next
, 당신은 명령 창에 표시되는 대상 컴퓨터에 설치된 실제 메모리의 KB 수를 볼 수 :
과 같이 요금을 커밋 다음은 스크립트의 전형적인 출력 in http://en.wikipedia.org/wiki/Commit_charge – Chris