View Full Version : Search Tool will not find ASP file script
Andy Fox
April 25th 03, 12:45 PM
Hi All
I have noticed that the XP Search Tool fails to find files
containing a text string if that text is contained within
the ASP script block delimiters <% and %>.
For example, an ASP file contains the following snippet:-
<%
Function Hello()
Response.Write "Hello"
End Function
%>
If I use the XP Search tool to look for files containing
the string 'Function', this file is not found.
This is not the same behaviour as Windows 2000.
Is it because I have missed an option somewhere, is it a
new 'by design' feature, or am I being silly???
Regards
Andy
Kelly
April 26th 03, 04:34 AM
Hi Andy,
Troubleshooting Searching for Text (Word or Phrase)
http://www.kellys-korner-xp.com/xp_s.htm#searchtext
--
All the Best,
Kelly
MS-MVP Win98/XP [AE-Windows® XP]
Troubleshooting Windows XP
http://www.kellys-korner-xp.com
http://www.kellys-korner-xp.com/xp_abc.htm
http://www.kellys-korner-xp.com/xp_tweaks.htm
Top 10 Frequently Asked Questions and Answers
http://www.kellys-korner-xp.com/top10faqs.htm
"Andy Fox" > wrote in message
...
> Hi All
>
> I have noticed that the XP Search Tool fails to find files
> containing a text string if that text is contained within
> the ASP script block delimiters <% and %>.
>
> For example, an ASP file contains the following snippet:-
>
> <%
> Function Hello()
> Response.Write "Hello"
> End Function
> %>
>
> If I use the XP Search tool to look for files containing
> the string 'Function', this file is not found.
>
> This is not the same behaviour as Windows 2000.
>
> Is it because I have missed an option somewhere, is it a
> new 'by design' feature, or am I being silly???
>
> Regards
> Andy
>
>
>
Kelly
April 26th 03, 04:34 AM
Hi Andy,
Troubleshooting Searching for Text (Word or Phrase)
http://www.kellys-korner-xp.com/xp_s.htm#searchtext
--
All the Best,
Kelly
MS-MVP Win98/XP [AE-Windows® XP]
Troubleshooting Windows XP
http://www.kellys-korner-xp.com
http://www.kellys-korner-xp.com/xp_abc.htm
http://www.kellys-korner-xp.com/xp_tweaks.htm
Top 10 Frequently Asked Questions and Answers
http://www.kellys-korner-xp.com/top10faqs.htm
"Andy Fox" > wrote in message
...
> Hi All
>
> I have noticed that the XP Search Tool fails to find files
> containing a text string if that text is contained within
> the ASP script block delimiters <% and %>.
>
> For example, an ASP file contains the following snippet:-
>
> <%
> Function Hello()
> Response.Write "Hello"
> End Function
> %>
>
> If I use the XP Search tool to look for files containing
> the string 'Function', this file is not found.
>
> This is not the same behaviour as Windows 2000.
>
> Is it because I have missed an option somewhere, is it a
> new 'by design' feature, or am I being silly???
>
> Regards
> Andy
>
>
>
Torgeir Bakken (MVP)
December 5th 03, 12:09 AM
Andy Fox wrote:
> I have noticed that the XP Search Tool fails to find files
> containing a text string if that text is contained within
> the ASP script block delimiters <% and %>.
>
> For example, an ASP file contains the following snippet:-
>
> <%
> Function Hello()
> Response.Write "Hello"
> End Function
> %>
>
> If I use the XP Search tool to look for files containing
> the string 'Function', this file is not found.
Hi
It looks like the built-in search is trying to be a bit to intelligent here :-;
Use Agent Ransack instead, it's a *much* better search tool anyway...
http://www.agentransack.com/index.asp
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.