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,018
  • 3
  • 18
  • 21
John Smith
  • 1,559
  • 10
  • 34
  • 51

1 Answers1

3

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

Diodeus - James MacFarlane
  • 110,221
  • 32
  • 151
  • 174