ASP takes registry information
<% Set wscr = Server.CreateObject ( "WScript.Shell") set net = Server.CreateObject ( "WScript.Network") d = "HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows / CurrentVersion / Explorer / DocFolderPaths /" & net.UserNamea = "My document directory is:" & wscr.regread (Replace (D, "IUSR_", ")) &"
"b =" My Favorites directory is: "& wscr.Regread (" HKEY_CURRENT_USER / Software / Microsoft / Windows / CurrentVersion / Explorer / Shell Folders / Favorites ") &"
"Response.write A & B%>