retrieving current file name through asp or javascript?

by "Phil Babcock" <pbabcock(at)bgsgroup.com>

 Date:  Wed, 17 May 2000 12:55:42 -0400
 To:  "hwg-languages(at)hwg.org" <hwg-languages(at)hwg.org>
  todo: View Thread, Original
Hi all

Anyone know of a way, through either ASP (vbscript) or javascript to return
the file name of the current document?  I dont need the path or attributes
or anything else, just the file name.  I would prefer a server-side
vbscript, but client-side javascript might be ok as well.

I looked through the ASP Scripting.FileSystemObject but it only seems to be
applicable if you can specify the file you are interested in.  I need
something more dynamic, that will return the file name without any
pre-knowledge of the name.

Make sense?

tia,

Phil Babcock
Lead Web Designer
BGS Group Inc.

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.