Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-03-2007, 06:30 AM
Martin C
Newsgroup Contributor
 
Posts: n/a
Problems searching for bas files using XP

I know that the problem of being able to find files using the XP search
engine has been discussed before, but this one might be slightly different.

I am aware that XP will only search a particular sub set of all file
extensions unless you override it.

To that fact, I have downloaded the "xp_persisthandler.vbs" script that is
supposed to allow you to define the file extension to be updated in the
registry to allow it to be searched.

When running it for ads and adb file extension (for use with ADA program
files), I am able to search for such files to find a particular string or
word within the files. The script worked fine for those file extensions.

When running a search for a word or string within bas files, it is unable to
find them. I know that the string I am searching for is in at least 3 bas
extension files, but XP states that no such files exist. Clearly the script
has not worked for these extensions.

Is there a difference with bas files that I am not aware of? What gives -
any ideas?

TIA

Martin


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-03-2007, 06:30 AM
  #2 (permalink)  
Old 04-03-2007, 07:00 AM
Ramesh, MS-MVP
Newsgroup Contributor
 
Posts: n/a
Re: Problems searching for bas files using XP

I used the same script from Doug's site and works fine here for .BAS (VB modules). To check if the correct filter is registered for .BAS files, try this:

Click Start, Run and type:

CMD /K REG QUERY HKCR\.BAS\PersistentHandler /S

Press ENTER.

Copy/Paste the output in your reply.


Alternately, you may use the free "Agent Ransack" utility.
http://www.agentransack.com/default.aspx

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Martin C" <martinC@invalid.com> wrote in message news:4612522c$1_1@glkas0286.greenlnk.net...
I know that the problem of being able to find files using the XP search
engine has been discussed before, but this one might be slightly different.

I am aware that XP will only search a particular sub set of all file
extensions unless you override it.

To that fact, I have downloaded the "xp_persisthandler.vbs" script that is
supposed to allow you to define the file extension to be updated in the
registry to allow it to be searched.

When running it for ads and adb file extension (for use with ADA program
files), I am able to search for such files to find a particular string or
word within the files. The script worked fine for those file extensions.

When running a search for a word or string within bas files, it is unable to
find them. I know that the string I am searching for is in at least 3 bas
extension files, but XP states that no such files exist. Clearly the script
has not worked for these extensions.

Is there a difference with bas files that I am not aware of? What gives -
any ideas?

TIA

Martin


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-04-2007, 06:00 AM
Martin C
Newsgroup Contributor
 
Posts: n/a
Re: Problems searching for bas files using XP

I used the command line and it showed that the bas registry update had not
been made. Trying it again and rebooting again gave a positive result and
the find operation now works.

Not quite sure why the first attempt failed! Is the script only supposed to
handle one extension at a time. I cannot remember if I just asked for the
bas extension, or if I asked for another at the same time (e.g. 'bas, vbs').
Maybe that was what caused the problem.

Thanks for the response.

Martin



"Ramesh, MS-MVP" <ramesh@XOX.mvps.org> wrote in message
news:OAEnobfdHHA.1216@TK2MSFTNGP03.phx.gbl...
I used the same script from Doug's site and works fine here for .BAS (VB
modules). To check if the correct filter is registered for .BAS files, try
this:

Click Start, Run and type:

CMD /K REG QUERY HKCR\.BAS\PersistentHandler /S

Press ENTER.

Copy/Paste the output in your reply.


Alternately, you may use the free "Agent Ransack" utility.
http://www.agentransack.com/default.aspx

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Martin C" <martinC@invalid.com> wrote in message
news:4612522c$1_1@glkas0286.greenlnk.net...
I know that the problem of being able to find files using the XP search
engine has been discussed before, but this one might be slightly different.

I am aware that XP will only search a particular sub set of all file
extensions unless you override it.

To that fact, I have downloaded the "xp_persisthandler.vbs" script that is
supposed to allow you to define the file extension to be updated in the
registry to allow it to be searched.

When running it for ads and adb file extension (for use with ADA program
files), I am able to search for such files to find a particular string or
word within the files. The script worked fine for those file extensions.

When running a search for a word or string within bas files, it is unable to
find them. I know that the string I am searching for is in at least 3 bas
extension files, but XP states that no such files exist. Clearly the script
has not worked for these extensions.

Is there a difference with bas files that I am not aware of? What gives -
any ideas?

TIA

Martin



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 04-04-2007, 06:15 AM
Ramesh, MS-MVP
Newsgroup Contributor
 
Posts: n/a
Re: Problems searching for bas files using XP

Yes. It's supposed to handle one extension at a time.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Martin C" <martinC@invalid.com> wrote in message news:46139b4a$1_1@glkas0286.greenlnk.net...
I used the command line and it showed that the bas registry update had not
been made. Trying it again and rebooting again gave a positive result and
the find operation now works.

Not quite sure why the first attempt failed! Is the script only supposed to
handle one extension at a time. I cannot remember if I just asked for the
bas extension, or if I asked for another at the same time (e.g. 'bas, vbs').
Maybe that was what caused the problem.

Thanks for the response.

Martin



"Ramesh, MS-MVP" <ramesh@XOX.mvps.org> wrote in message
news:OAEnobfdHHA.1216@TK2MSFTNGP03.phx.gbl...
I used the same script from Doug's site and works fine here for .BAS (VB
modules). To check if the correct filter is registered for .BAS files, try
this:

Click Start, Run and type:

CMD /K REG QUERY HKCR\.BAS\PersistentHandler /S

Press ENTER.

Copy/Paste the output in your reply.


Alternately, you may use the free "Agent Ransack" utility.
http://www.agentransack.com/default.aspx

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Martin C" <martinC@invalid.com> wrote in message
news:4612522c$1_1@glkas0286.greenlnk.net...
I know that the problem of being able to find files using the XP search
engine has been discussed before, but this one might be slightly different.

I am aware that XP will only search a particular sub set of all file
extensions unless you override it.

To that fact, I have downloaded the "xp_persisthandler.vbs" script that is
supposed to allow you to define the file extension to be updated in the
registry to allow it to be searched.

When running it for ads and adb file extension (for use with ADA program
files), I am able to search for such files to find a particular string or
word within the files. The script worked fine for those file extensions.

When running a search for a word or string within bas files, it is unable to
find them. I know that the string I am searching for is in at least 3 bas
extension files, but XP states that no such files exist. Clearly the script
has not worked for these extensions.

Is there a difference with bas files that I am not aware of? What gives -
any ideas?

TIA

Martin



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for files Blake Kaos Windows Vista 2 07-10-2008 04:40 PM
Problems Searching a phrase Marc S Windows XP 5 06-18-2008 07:47 AM
Searching for files Roger Van Loon Windows Vista 5 02-01-2008 02:10 PM
Problems searching for a file JoeSpareBedroom Windows XP 2 02-25-2007 09:01 AM
Searching within files... NPS Windows Vista 3 02-09-2007 08:45 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 08:53 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0