Mike Gagnon
Programmer
To get the computer name
Mike Gagnon
If you want to get the best response to a question, please check out FAQ184-2483 first.
Code:
Shell = CreateObject("WScript.Shell")
CompName = Shell.ExpandEnvironmentStrings("%COMPUTERNAME%")
MESSAGEBOX(compname)
Mike Gagnon
If you want to get the best response to a question, please check out FAQ184-2483 first.