T
thuse
I may not understand how Windows Explorer's Search (W/E Search) is supposed
to work. I know how the Find in the DOS Window works, so let me start with
an example using FIND. My expectation that both have similar capabilities
is perhaps misplaced. In the "search for content" thread below I describe
the steps I took to make sure the .DAT extension is in the index control
panel, and re-indexed several times to insure that .DAT files are in the
index.
I have a folder named TPL which I think has been indexed. It has about 5000
text files in it most of which happen to have the extension .DAT, and several
other text files, some of which have the extensions .INC and .TXT. I know
some of the files have the phrase GRID in them, some multiple times. I go to
the folder I want in DOS, and get to the point where the cursor is:
C:\Users\Owner\Documents\tpl
I then ask for all files that start with cy*.* and include the word GRID. I
pipe this to a file named srch5.dat because the output may overload the
screen.
C:\Users\Owner\Documents\tpl>find "GRID" cy*.*>srch5.dat
I look at this file with Word. A portion of this file is produced here,
with many repeated lines snipped out:
---------- CYL1HEX.INC
GRID 1 2. 0.0 0.0
GRID 2 5. 0.0 0.0
GRID 3 1.332-152. 0.0
GRID 4 8.882-165. 0.0
GRID 5 2. 0.0 6.
GRID 6 5. 0.0 6.
GRID 7 3.109-152. 6.
GRID 8 0.0 5. 6.
---------- CYLMD100.DAT
GRID* 1 0 1.223867901E-15 6.000000000E+00
ED00001
GRID* 2 0 1.223867901E-15 6.000000000E+00
ED00002
[snip]
GRID* 17030 0 -2.84947710E-01 5.993229914E+00
ED170308
---------- CYLST100.DAT
GRID* 1 0 1.223867901E-15 6.000000000E+00
ED00001
[snip]
Note that one .INC and two .DAT files were found.
When I repeat the same exercise in Vista Windows Explorer Search by putting
the following phrase in the search window:
"GRID"
The only file identified is the INC file, cyl1hex.inc. As discussed in
another thread, .dat files were not listed in my indexing control panel, so I
added that name, checked its box, and indexed everything over again. No
..dat files are listed.
When the search box contains only "GRID" it identifies two .INC files, and
one .txt file, but no .DAT files, of which there should be several thousand.
Apparent differences between DOS FIND and W/E Search:
1. Search does not list the content lines that contain the search phrase,
but DOS FIND does. I could live with that. I really only need the file
names. If I want to see the content lines I can do that some other way.
2. FIND lists all the files with content. Search lists only 1 in one case,
three in another case, and none with the .DAT extension. When I add NAMEAT
to the search line no files are identified. I need a list with all the files
from Search. How do I get this? Is there anything analogous to the DOS pipe
function (>filename) that will make a text file that I can look at with a
word processor?
3. How can one confirm that a folder contains all indexed files, with known
extensions?
I've tried looking at the help files to answer these questions, and they
return lots of irrelevant data such as how to search with Internet Explorer,
and little or none on searching for content with W/E. I bought a book on
Vista that is one step above "Vista for Dummies" but that doesn't have much
relevant help either. Should I just live with DOS FIND, or is there a way to
get this type of search with a graphics user interface from Vista?
to work. I know how the Find in the DOS Window works, so let me start with
an example using FIND. My expectation that both have similar capabilities
is perhaps misplaced. In the "search for content" thread below I describe
the steps I took to make sure the .DAT extension is in the index control
panel, and re-indexed several times to insure that .DAT files are in the
index.
I have a folder named TPL which I think has been indexed. It has about 5000
text files in it most of which happen to have the extension .DAT, and several
other text files, some of which have the extensions .INC and .TXT. I know
some of the files have the phrase GRID in them, some multiple times. I go to
the folder I want in DOS, and get to the point where the cursor is:
C:\Users\Owner\Documents\tpl
I then ask for all files that start with cy*.* and include the word GRID. I
pipe this to a file named srch5.dat because the output may overload the
screen.
C:\Users\Owner\Documents\tpl>find "GRID" cy*.*>srch5.dat
I look at this file with Word. A portion of this file is produced here,
with many repeated lines snipped out:
---------- CYL1HEX.INC
GRID 1 2. 0.0 0.0
GRID 2 5. 0.0 0.0
GRID 3 1.332-152. 0.0
GRID 4 8.882-165. 0.0
GRID 5 2. 0.0 6.
GRID 6 5. 0.0 6.
GRID 7 3.109-152. 6.
GRID 8 0.0 5. 6.
---------- CYLMD100.DAT
GRID* 1 0 1.223867901E-15 6.000000000E+00
ED00001
GRID* 2 0 1.223867901E-15 6.000000000E+00
ED00002
[snip]
GRID* 17030 0 -2.84947710E-01 5.993229914E+00
ED170308
---------- CYLST100.DAT
GRID* 1 0 1.223867901E-15 6.000000000E+00
ED00001
[snip]
Note that one .INC and two .DAT files were found.
When I repeat the same exercise in Vista Windows Explorer Search by putting
the following phrase in the search window:
"GRID"
The only file identified is the INC file, cyl1hex.inc. As discussed in
another thread, .dat files were not listed in my indexing control panel, so I
added that name, checked its box, and indexed everything over again. No
..dat files are listed.
When the search box contains only "GRID" it identifies two .INC files, and
one .txt file, but no .DAT files, of which there should be several thousand.
Apparent differences between DOS FIND and W/E Search:
1. Search does not list the content lines that contain the search phrase,
but DOS FIND does. I could live with that. I really only need the file
names. If I want to see the content lines I can do that some other way.
2. FIND lists all the files with content. Search lists only 1 in one case,
three in another case, and none with the .DAT extension. When I add NAMEAT
to the search line no files are identified. I need a list with all the files
from Search. How do I get this? Is there anything analogous to the DOS pipe
function (>filename) that will make a text file that I can look at with a
word processor?
3. How can one confirm that a folder contains all indexed files, with known
extensions?
I've tried looking at the help files to answer these questions, and they
return lots of irrelevant data such as how to search with Internet Explorer,
and little or none on searching for content with W/E. I bought a book on
Vista that is one step above "Vista for Dummies" but that doesn't have much
relevant help either. Should I just live with DOS FIND, or is there a way to
get this type of search with a graphics user interface from Vista?