0

How can I use javascript to get the file name using: window.location.pathname

window.location.pathname = G:\AS\Asf\ASF\RSSIMS\welcome.hta

id like var x = welcome.hta

How do I get the filename?

Thanks

Aaron Kurtzhals
  • 2,036
  • 3
  • 17
  • 21
John Smith
  • 1,639
  • 11
  • 36
  • 51

1 Answers1

3

You can't - that's a server property that is not exposed to the client.

Diodeus - James MacFarlane
  • 112,730
  • 33
  • 157
  • 176