Thanks Garry - but could you please explain why  "if errorlevel = 2 then there is a problem" .
 
 

 Garry Clarke <[EMAIL PROTECTED]> wrote:

setup an external command and use the command 'net use \\servername\sharename'
if errorlevel = 2 then there is a problem
-----Original Message-----
From: Ahmed Hassan [mailto:[EMAIL PROTECTED]]
Sent: 09 December 2002 14:01
To: Salive
Subject: [SA-list] How to Check a Share

Is there a way I can check the availability of a shared resource on server? I normally do this manually by simply using the command "net view \\myserver".

Thanks



With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

Reply via email to