(view source code of prodid.vbs as plain text)
' ProdID.vbs, Version 1.01 for WSH 5.6
' Display Windows' Product ID
'
' Usage: CSCRIPT //NoLogo ProdID.vbs
'
' Written by Rob van der Woude
' http://www.robvanderwoude.com
Set Shell = CreateObject("WScript.Shell")
ProductID = Shell.RegRead("HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProductId")
WScript.Echo(vbCrLf & "ProductID=" & ProductID)
page last modified: 2024-04-16; loaded in 0.0079 seconds