Search in PRG-files
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Search in PRG-files
Hello,
I have a problem that is not really a FW one but related to PRG-files.
If I want to search in Windows XP to files that containing a text, windows can’t find the string in PRG-files.
If I look for example to all the files containing the string ‘Function’, windows only find it files that doesn’t have extension PRG. If I rename the program-file to ex. .TXT, the sting is found.
First I was thinking that there was a problem with my PC, but on my new one I have the same problem. Does anyone have the same problem?
It was working in Windows 2000, but since I use XP-Pro, it doesn’t work anymore.
Thanks,
Marc
I have a problem that is not really a FW one but related to PRG-files.
If I want to search in Windows XP to files that containing a text, windows can’t find the string in PRG-files.
If I look for example to all the files containing the string ‘Function’, windows only find it files that doesn’t have extension PRG. If I rename the program-file to ex. .TXT, the sting is found.
First I was thinking that there was a problem with my PC, but on my new one I have the same problem. Does anyone have the same problem?
It was working in Windows 2000, but since I use XP-Pro, it doesn’t work anymore.
Thanks,
Marc
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Search in PRG-files
Try to register PRG extension (ie. double click on a PRG file from Explorer then select a program to always open it).
Or try my FileFind:
http://www.emagsoftware.it/Ff101.zip
EMG
Or try my FileFind:
http://www.emagsoftware.it/Ff101.zip
EMG
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Marc,
As Enrico mentioned, PRG files are not registered as searchable text files, so you have to do it manually. However, this does not solve the problem that Windows search (except for Vista), does not maintain a search index so each time you start a search the entire disk must be searched while you wait.
I have been using an indexed search engine for a couple of years now. It runs when the CPU is idle and maintains an index of all searchable files (including PDFs, emails, addresses, music, photos, etc.). So, when you do a search it finds the files as fast as you can type the search word. You can then list the files by folder or date. Nice.
I highly recommend this program. And it is free!
Copernic Desktop Search 2.0
wwww.copernic.com
Regards,
James
As Enrico mentioned, PRG files are not registered as searchable text files, so you have to do it manually. However, this does not solve the problem that Windows search (except for Vista), does not maintain a search index so each time you start a search the entire disk must be searched while you wait.
I have been using an indexed search engine for a couple of years now. It runs when the CPU is idle and maintains an index of all searchable files (including PDFs, emails, addresses, music, photos, etc.). So, when you do a search it finds the files as fast as you can type the search word. You can then list the files by folder or date. Nice.
I highly recommend this program. And it is free!
Copernic Desktop Search 2.0
wwww.copernic.com
Regards,
James
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Enrico,
The PRG-files where already registered, but it didn't work. So I registered it again without result. The stanges thing is that he find it in .C files, and those files aren't registered.
How can I search in files with your FileFind-utility?
James,
Thanks for the tip. I will try it.
Best regards?
Marc
The PRG-files where already registered, but it didn't work. So I registered it again without result. The stanges thing is that he find it in .C files, and those files aren't registered.
How can I search in files with your FileFind-utility?
James,
Thanks for the tip. I will try it.
Best regards?
Marc
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
I just found in the Microsoft knowledge-base that the search only look in the files of type:
.asm
.c
.cpp
.cxx
.def
.h
.hpp
.hxx
.idl
.inc
.js
.log
.pl
.rc
.rtf
.url
.xml
.xsl
.css
.hta
.htt
.386
.aifc
.aiff
.asx
.au
.AudioCD
.bkf
.bmp
.cda
.cpl
.cur
.DeskLink
.dib
.drv
.dvd
.emf
.fnd
.folder
.gz
.ivf
.jfif
.jpe
.jpeg
.latex
.m1v
.m3u
.MAPIMail
.mid
.midi
.mp2
.mp2v
.mpa
.mpe
.mpeg
.mpg
.mpv2
.mydocs
.png
.rle
.rmi
.sit
.snd
.tgz
.vxd
.wax
.wm
.wma
.wmp
.wmv
.wmx
.wmz
.wsz
.wvx
.xbm
.ZFSendToTarget
Marc
.asm
.c
.cpp
.cxx
.def
.h
.hpp
.hxx
.idl
.inc
.js
.log
.pl
.rc
.rtf
.url
.xml
.xsl
.css
.hta
.htt
.386
.aifc
.aiff
.asx
.au
.AudioCD
.bkf
.bmp
.cda
.cpl
.cur
.DeskLink
.dib
.drv
.dvd
.emf
.fnd
.folder
.gz
.ivf
.jfif
.jpe
.jpeg
.latex
.m1v
.m3u
.MAPIMail
.mid
.midi
.mp2
.mp2v
.mpa
.mpe
.mpeg
.mpg
.mpv2
.mydocs
.png
.rle
.rmi
.sit
.snd
.tgz
.vxd
.wax
.wm
.wma
.wmp
.wmv
.wmx
.wmz
.wsz
.wvx
.xbm
.ZFSendToTarget
Marc
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
As an example:Marc Vanzegbroeck wrote:How can I search in files with your FileFind-utility?
ff c:\mydir\*.prg report
List all *.prg in c:\mydir and subdir containing the string REPORT. Then you can open each files and automatically jump from one occurrence to the other.
You can also specify the parameters after the utility is run. Press F1 for a list of commands.
If you need of an english version just let me know.
EMG
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Marc,
We have been using "Total Commander" for years (based on the old MsDos Norton Commander). All our products have been developed using it.
We can't do any professional development without it. It greatly increases your productivity and it has all kind of search options, etc.
There is a non limited shareware version, its worth to try it.
We have been using "Total Commander" for years (based on the old MsDos Norton Commander). All our products have been developed using it.
We can't do any professional development without it. It greatly increases your productivity and it has all kind of search options, etc.
There is a non limited shareware version, its worth to try it.
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Enrico,
>I wonder how an index (or at least not a huge index) can keep track of all the text contained inside all the files. Anyway, I much prefer to use my own tools as I can add whatever feature I could need.
Well, of course, although there are 350,000 files on my disk, only a fraction of them are indexed.
Enrico, as I expect you know, I am a big skeptic. I don't find much software that impresses me, but Copernic's Desktop Search is one of those that does. I encourge you to try it before you dismiss it as not useful. Since it is free, you only have a little of your time to loose and you might really like it.
And you could still use your own tools for anything the Copernic doesn't do.
James
>I wonder how an index (or at least not a huge index) can keep track of all the text contained inside all the files. Anyway, I much prefer to use my own tools as I can add whatever feature I could need.
Well, of course, although there are 350,000 files on my disk, only a fraction of them are indexed.
Enrico, as I expect you know, I am a big skeptic. I don't find much software that impresses me, but Copernic's Desktop Search is one of those that does. I encourge you to try it before you dismiss it as not useful. Since it is free, you only have a little of your time to loose and you might really like it.
And you could still use your own tools for anything the Copernic doesn't do.
James
A BAT for finding text in Prgs.
REM busca.bat
Ej. Busca BtnAceptar
@echo off
if a%1a==aa goto error:
if exist find.txt del find.txt
echo Buscando ocurrencias de la palabra "%1"
echo Espere por favor
if a%2a==aa goto Todo:
for %%i in ( %2 ) do find /n /i "%1" %%i >>find.txt
goto cont:
:Todo
for %%i in ( *.PRG ) do find /n /i "%1" %%i >>find.txt
:cont
edit find.txt
goto fin:
:error
echo.
echo Sintaxis: BUSCA [Cadena]
:fin
Ej. Busca BtnAceptar
@echo off
if a%1a==aa goto error:
if exist find.txt del find.txt
echo Buscando ocurrencias de la palabra "%1"
echo Espere por favor
if a%2a==aa goto Todo:
for %%i in ( %2 ) do find /n /i "%1" %%i >>find.txt
goto cont:
:Todo
for %%i in ( *.PRG ) do find /n /i "%1" %%i >>find.txt
:cont
edit find.txt
goto fin:
:error
echo.
echo Sintaxis: BUSCA [Cadena]
:fin
Saludos de SilData
Hola MARC:
Segun mi experiencia, puedes utilizar un utility llamado "WINDOW COMMANDER" o como lo llaman ahora "TOTAL COMMANDER", te resuelve el problema de las busquedas sobre cualquier tipo de archivo con cualquier tipo de texto, te lo recomiendo.
Otro que te puede servir es el DANALYST, tambien muy util, si te interesan escribeme a mi correo.
Rodolfo Silva
sildata@cantv.net
Segun mi experiencia, puedes utilizar un utility llamado "WINDOW COMMANDER" o como lo llaman ahora "TOTAL COMMANDER", te resuelve el problema de las busquedas sobre cualquier tipo de archivo con cualquier tipo de texto, te lo recomiendo.
Otro que te puede servir es el DANALYST, tambien muy util, si te interesan escribeme a mi correo.
Rodolfo Silva
sildata@cantv.net