Can anyone tell me me how to return the Network and Workstation name off the
computer I am sitting at? Is there a SYS() command that will return that?

Cheers,
J Morningstar

Re: Network Workstation Q. by Viorel

Viorel
Mon Jul 14 09:52:05 CDT 2008

Try

getenv("COMPUTERNAME")

Regards,

Viorel

"Jonathan Morningstar" <jm@ablecon.com> wrote in message
news:%23NrxAyb5IHA.300@TK2MSFTNGP05.phx.gbl...
> Can anyone tell me me how to return the Network and Workstation name off
> the computer I am sitting at? Is there a SYS() command that will return
> that?
>
> Cheers,
> J Morningstar
>



Re: Network Workstation Q. by Fred

Fred
Mon Jul 14 09:58:34 CDT 2008

SYS(0) returns the workstation name and login name in this format:

"WS # Login"

--
Fred
Microsoft Visual FoxPro MVP


"Jonathan Morningstar" <jm@ablecon.com> wrote in message
news:%23NrxAyb5IHA.300@TK2MSFTNGP05.phx.gbl...
> Can anyone tell me me how to return the Network and Workstation name off
> the computer I am sitting at? Is there a SYS() command that will return
> that?
>
> Cheers,
> J Morningstar
>