Hojben is right.
if it\'s any help you can have a nice little script that will show all web sites and the web site name, and physical name.
make WebSitePaths.vbs which includs:
\' **********************************************************************************
\' ** This script will show all web sites and the web site name, and physical name **
\' **********************************************************************************
Function ProcessWebSite(ServiceType, SiteNumber)
Set IISWebSite = getObject(\"
IIS://localhost/\" & ServiceType & \"/\" & SiteNumber)
Set IISWebSiteRoot = getObject(\"
IIS://localhost/\" & ServiceType & \"/\" & SiteNumber & \"/root\")
ProcessWebSite = IISWebSite.ServerComment & Space(40-len(IISWebSite.Servercomment)) & _
\" \" & IISWebsiteRoot.Path
Set IISWebSiteRoot = nothing
Set IISWebSite = Nothing
end function
Function ShowSites(ServiceType, ClassName, Title)
WScript.Echo Title & \" Sites\"
WScript.Echo \"\"
Wscript.echo Title & \" Site \" & title & \" Site Description Path\"
Wscript.echo \"=============================================================================\"
Set IISOBJ = getObject(\"
IIS://localhost/\" & ServiceType)
for each Web in IISOBJ
if (Web.Class = ClassName) then
wscript.echo Ucase(ServiceType) & \"/\" & Web.Name & _
Space(12-(len(Ucase(ServiceType))+1+len(Web.Name))) & \" \" & _
ProcessWebSite(ServiceType, Web.name)
end if
next
Set IISOBj=Nothing
WScript.Echo \"\"
End function
Call ShowSites(\"w3svc\", \"IIsWebServer\", \"Web\")
Call ShowSites(\"msftpsvc\", \"IIsFtpServer\", \"FTP\")