@echo off
wmic csproduct get uuid
pause
wmic DISKDRIVE get SerialNumber
pause
getmac
pause
I need each one to pop its own message box, so when I click OK it moves to the next one and then the next one. At the end it saves all as a text document on the desktop. Currently being used in a .bat
but if .vbs
would be easier or better please tell me what code to use.
I have tried including msgbox, but not sure how to set the different codes with each box. I have tried to reverse engineer: Set WshShell = CreateObject("WScript.Shell") MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId") But no such luck