ron: Suchabfragen mit ASP

Beitrag lesen

Hallo,

ich wollte gerne 2 Suchabragen auf einer Seite einbauen, die auf Unterschiedliche Ordnerverzeichnisse zugreifen ?
Das ist der Code für die Allgemeine Suche auf jeder Seite
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
 Option Explicit

Dim strDocsPath, strDocsPhysicalPath
 Dim objFSO, objFolder, objFiles, objFile
 Dim strName, strFile, strType, lngSize
 dim subfolder

' NOTE: set the following line to the folder to display
 strDocsPath = "."

' map the folder to a physical path
 strDocsPhysicalPath = Server.MapPath(strDocsPath)

' create a system file object
  Set objFSO = Server.CreateObject("Scripting.FileSystemObject")

' create an object for the folder
 Set objFolder = objFSO.GetFolder(strDocsPhysicalPath)

subfolder = objFolder.SubFolders.count

%>

Wo und wie kann ich nun die zweite Suche ansteuern und wie kann ich auch PDF-Files durchsuchen lassen ?