The VirtualDirectory property contains the name of the virtual directory for the site.
Assuming that the path to a site is:
http://www.microsoft.com/clocktower/default.asp
then the following script displays “clocktower”:
Response.Write mscsPage.VirtualDirectory