Problems searching for bas files using XP

M

Martin C

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
 
R

Ramesh, MS-MVP

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


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
 
M

Martin C

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



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


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
 
R

Ramesh, MS-MVP

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


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



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


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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top