I found that file("\\ServerName\ShareName\nul")
returns .t.
But so does
file("\\ServerName\BadShareName\nul")
file("\\BadServerName\BadShareName\nul")
Directory("\\ServerName\ShareName")
seems to be more reliable.
Is this just me using Vfp 9 on XP?
--Reidar
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Gérard Lochon
Sent: Monday, October 08, 2007 1:58 AM
To: ProFox Email List
Subject: Re: Station on line
>> How can I check if a workstation is on line, in a local network ?
file( '\\MyNetwork\ThatMachine\c\nul')
Gérard.
____________
Analysé par G DATA AVK
Version : AVK 17.8683 de 08.10.2007
Informations sur les virus : www.antiviruslab.com
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.