>>Need to get the name of the computer that an exe is running on. Thanks!
>
>In addition see
Re: Getting computer name Thread #
1209339 Message #
1209354That seems very involved when it looks like I can just use
ALLTRIM(LEFT(SYS(0),AT('#',SYS(0))-1))
Other than checking for an invalid computer name, when would you use the other code instead of this?