Quantcast
Channel: Dom's I.T. Humdrum » Windows Vista
Viewing all articles
Browse latest Browse all 13

Show Host Name via VBS (ShowHost.vbs)

$
0
0
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

Viewing all articles
Browse latest Browse all 13

Trending Articles