As long as you know the architecture of the network there is a very low tech
(and fast) way using a batch file:

@echo off
if exist \\Maple\Installs\VNC\winvnc\setup.exe goto yes
@echo Not on network
goto end
:yes
@echo On network
:end

Regards

John

> -----Original Message-----
> From: Glenn Mabbutt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 09, 2001 8:54 PM
> To: '[EMAIL PROTECTED]'
> Subject: OT: determining if on a network (windows)
> 
> 
> This isn't specifically a VNC question, however many people 
> on this list are
> quite knowledgeable about Windows, and it does relate to a 
> project I'm doing
> with VNC:
> 
> I would like to run a short program/script at bootup (specifically for
> laptops) that determines if the laptop is on a network or not 
> (ie, going to
> be using dial-up), and then installs a different AuthHosts 
> registry key
> based on the results.  This needs to run on Windows 95/98 and on NT.
> 
> Has anyone done this or knows of a solution for this??
> 
> Thanks,
> Glenn
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> 


**********************************************
Any views expressed in this message are the sender's own, and do not
represent the views of Nailsea Family Practice or Woodspring Healthcare
Limited except where the sender specifically states them to be the
views of one or both of those organisations. This e-mail should only be
read by those persons to whom it is addressed. Accordingly, we disclaim
all responsibility and accept no liability (including in negligence) for
the consequences of any person other than the intended recipients acting,
or refraining from acting, on such information. If you have received this
e-mail in error, please accept our apologies and we simply request that
you delete this document. Any form of reproduction, dissemination,
copying, disclosure, modification, distribution and/or publication of
this e-mail is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to