January 1, 2005

WinTask - GetComputerName

'
' GetComputerName
'
' Author: Joe Strazzere
'

ret=ReadReg("HKEY_LOCAL_MACHINESystemCurrentControlSetControlComputerNameComputerNameComputerName",1,Name$)
msgbox("The name of this computer is "+name$,,"GetComputerName")