Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP: FIND doesn't work with .PRG files

Status
Not open for further replies.

calico

Programmer
Jan 6, 2001
26
CA
Hi,

Since I have an XP workstation, I am not able to FIND string into .PRG file (start/find).

Any idea ?

Danny Danny Presse
 
I don't understand what you are asking.
Fox runs on XP workstations.
Dave S.
 
Are you saying that Foxpro's top menu Edit | Find
(also Ctrl+F) is not working for you?

What version of Foxpro are you running?

Are you attempting a Case-sensitive Find where you should really be doing a No Case-sensitivity search?

As Dave says above, Foxpro runs fine under XP.
For DOS versions you might need to ensure that the Quick Edit property is not checked and you might need to ensure that your CONFIG.NT and AUTOEXEC.NT files have the appropriate settings (do Keyword search). You might also want to check the CONFIG.FP (or .FPW) file settings for MEMLIMIT settings (again, do Keyword search).

Good Luck,
JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
 
Hi,

Sorry ! I was not enought clear !

Suppose that I have 2000 programmes file (.PRG) and I want to identify wich programs contain sting "toto".

To do that, I am used to using Windows Explorer.
I execute FIND with Windows Explorer.
I specify file = *.PRG
I specify sting = TOTO
Windows Explorer gives me all programs files that contains string "toto".

Now since I have Windows XP on my workstation, when I execute FIND the result of the search is always empty. Windows XP is not able to analyse .PRG files.

Any idea ?

Danny

Danny Presse
 
Yes, that's because XP has changed the search criteria in Explorer. By default you can only search inside file types that MS has previously defined as "text" and .PRG is not on the list! (This is so explorer doesn't search for text strings inside non-text files - especially those large media files like mpegs and jpgs!) Go to and get the little script to add those files you think should be "searchable". Note: If explorer finds 'binary data' (not sure of the official definition), it will stop searching in a file. So don't bother putting .DBF, .FPT, .SCX, .SCT, etc. on the searchable list.

If you prefer how things used to work <s>, consider Agent Ransack - a free third party search tool. It works well with XP. Has many search options, including a working &quot;search for text&quot; feature. -
Or a shareware product at
Rick
 
my solution is to point at any .prg on the system and right click open with... chose edit.exe then run your search.

if windows dont know about it you can explain it if it is to be it's up to me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top