[Javascript] Trapping "File not Found"

Senior, Henry (TWIi London) HSenior at twii.net
Wed Jul 24 04:15:49 CDT 2002


Matthew, 

Is this site an intranet and will your users be using IE?

If so you can create a filesystemobject and have a look what's in the cd
drive or map a path to any file you like.


Message: 3
From: "Stern,Matthew" <matthew.stern at bestsoftware.com>
To: "Post to JavaScript Forum (E-mail)" <javascript at LaTech.edu>
Date: Tue, 23 Jul 2002 15:49:16 -0700
Subject: [Javascript] Trapping "File not Found"
Reply-To: javascript at LaTech.edu

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2329B.2C6FCF80
Content-Type: text/plain;
	charset="iso-8859-1"

Hello,
 
I'm using JavaScript to create an HTML page that is the startup screen for
installation. The challenge is that the programs that can be launched from
this screen might be on two CDs. I'd like to find a way to trap the "File
not Found" error and show an alert that instructs the user to insert the
correct CD. (If there is a better way to do this, please let me know.) Note
that I'm not expecting the CD to be a specific drive letter. It could even
be a path on a network. Thanks in advance for your help.
 

Matthew Stern 
Principal Technical Writer
Best Software
 <mailto:matthew.stern at bestsoftware.com> matthew.stern at bestsoftware.com
http://www.matthewarnoldstern.com <http://www.matthewarnoldstern.com/> 



DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information.  It is intended to be conveyed only to the designated
recipient(s) named above.  If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system.  Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.



More information about the Javascript mailing list