Search ASP Instructions **************************** HOW TO INSTALL **************************** Download the zip file and unzip to a directory in your path. **************************** HOW TO RUN **************************** Open command prompt and navigate to directory of ASP file you want to parse. In this example I will use c:\MyWebpage\LiveVersion\RootDir\Search\Names.asp The root of the web page is c:\MyWebpage\LiveVersion\RootDir Type searchasp and you will see these instructions --------------------------------------------- Search ASP: Version 1.0 Syntax: searchasp [root] [file] [string] [-ignorecase] root - full path to root of drive (where virtual include paths resolve) file - name of asp file to search string - string you are searching -ignorecase - case insensitive search (optional) Examples: searchasp c:\web\httpdocs default.asp leftColumn searchasp x:\staging\project1 home.asp "lorem ipsum" -ignorecase searchasp d:\inetpub\wwwroot welcome.asp "id=\"mainContent\"" Instructions: * This is a command line app * Do not end path to root of site with a slash * Add executable to your path * Run from directory of page to parse * Do not add a path to the file to parse --------------------------------------------- To do a case-insensitive search on Names.asp for "Lorem "Hello World" Ipsum" I would type searchasp c:\MyWebpage\LiveVersion\RootDir Names.asp "Lorem \"Hello World\" Ipsum" -ignorecase > Name.txt Remember ... * Pass in path to root of web page, not path to asp page. This helps resolve the path for virtual includes. * Do not include path to asp page You can name the redirect file to anything you want. It may be useful to name it the same as the ASP file so if you have many output files, you know which is which.