Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Windows Explorer search file contents not working on .sql files.
Thanks a lot. This is what I did, just in case anyone
else gets the same issue.
Noted at the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\DllsToRegister
that there were a number of dlls to register. Registered them. Although they remained in the same key.
Change the registry in:
HKEY_CLASSES_ROOT\.sql
Add key:
HKEY_CLASSES_ROOT\.sql\PersistentHandler
Set this value to:
{5e941d80-bf96-11cd-b579-08002b30bfeb}
Change the app to wordpad.
Reboot to be sure.
Works!
dba_..._at_yahoo.com wrote:
> Dear Experts,
>
> I hate to have to post such a seemingly dumb question.
> But all the obvious has not worked.
>
> My new XP Pro laptop was recently configured for me.
> After installing Teradata SQL Assistant, the .SQL files
> were opening with that. But, that was not what I wanted
> to use. In Windows, I like to use wordpad.
>
> I work with Oracle scripts, with the suffix: .SQL.
> There are hundreds of them.
>
> Like most people, I often forget which file contains what.
> So, I usually use Windows Explorer search to find the file.
> If I know that the file is concerning GV$PROCESS, I just use
> windows explorer to search all files for that keyword.
> Usually this works fine.
>
> But, explorer doesn't find a thing in any one of my .SQL files.
> Not even the SELECT keyword, which is in almost ALL of them.
>
> I've done the obvious. In Windows explorer.
> Tools, folder Options. file types. change it to:
> notepad, wordpad, and even MS Word (which usually works).
>
> The file will open with the app that I change it to.
>
> However, any search for the contents for the contents of files,
> will always return zero files found!!!
>
> Searching through the registry has not shown anything obvious.
>
> What is the secret to fix this???
>
>
> Thanks a lot.
Received on Wed May 18 2005 - 13:04:16 CDT
![]() |
![]() |