Simple script to show host name of the local machine in a popup window add code to “ShowHost.vbs” Dim Shell Dim CompName Set Shell = WScript.CreateObject("WScript.Shell") CompName = Shell.ExpandEnvironmentStrings("%COMPUTERNAME%") Msgbox "Your Computer name is " & CompName
↧