<% strCRLF = Chr(13) & Chr(10) strClientIP = request.servervariables("REMOTE_ADDR") strUserAgent = request.servervariables("http_user_agent") strFilePath = "F:\logs\paysiteprofits\robots.txt" Set objFSO = CreateObject("Scripting.FileSystemObject") Set objLogFile = objFSO.OpenTextFile(strFilePath, 8, True) objLogFile.WriteLine(strClientIP & "|" & strUserAgent & strCRLF) objLogFile.close set objFSO = nothing set objLogFile = nothing %> User-agent: * Disallow: Disallow: /cgi-bin/ Disallow: /images/