If your requirement is to get the name of surrent page, you can use the following idea.
Request.ServerVariables("SCRIPT_NAME") gives the path of the script in relation to the virtual root. For. e.g. if http://www.yoursite.com/user/new/test1.asp
is the page, then Request.ServerVariables("SCRIPT_NAME") will give /user/new/test1.asp.
Out of this value, you can find the position of last /. The function instrrev will help you for it. Then you can use mid function to extract the filename.
I hope that is clear.