A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Windows Vista File Management
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management)

find file containing text inside the file



 
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old August 27th 09, 07:03 PM posted to microsoft.public.windows.vista.file_management
hybridmoments82
external usenet poster
 
Posts: 2
Default find file containing text inside the file


I've been following this thread since I found it via Google. Very
informative. I was wondering if there was any way to index a network
location or would I have to index on the server? I tried to use the
indexing service via Control Panel, but it doesn't seem to pick up any
of my mapped network drives. Is there a way I can index a network
location on my local Vista machine?

To add to the problem, I'm running Home Premium x64. Am I limited
because of the Vista package I'm using? Can Business accomplish this
task?

Thanks!


--
hybridmoments82
  #12 (permalink)  
Old August 28th 09, 12:10 AM posted to microsoft.public.windows.vista.file_management
Guest
 
Posts: n/a
Default find file containing text inside the file

http://support.microsoft.com/kb/918996

--
..
--
"hybridmoments82" wrote in message
...

I've been following this thread since I found it via Google. Very
informative. I was wondering if there was any way to index a network
location or would I have to index on the server? I tried to use the
indexing service via Control Panel, but it doesn't seem to pick up any
of my mapped network drives. Is there a way I can index a network
location on my local Vista machine?

To add to the problem, I'm running Home Premium x64. Am I limited
because of the Vista package I'm using? Can Business accomplish this
task?

Thanks!


--
hybridmoments82


  #13 (permalink)  
Old October 21st 09, 10:14 AM posted to microsoft.public.windows.vista.file_management
SAnton
external usenet poster
 
Posts: 1
Default find file containing text inside the file


Imagine the folowing situation: I downloaded .zip-archive with thouzands
of .php-files. I unpacked the file to the folder at my Desktop (which is
indexed by default). I want to find all files containing string «Test».
So, I added «Plain text filter» to the .php files extension in the
indexing settings. Should I wait hours until the indexing will be done?
Or I can just search (more slowly)? I tryed and did not get any results!
So, I will wait. It's very annoying!

Another case: I want to find files containing Russian word
«Привет». The problem is that that
word can be encoded by different bytes depending on codepage (most
popular are cp1251, UTF-8, KOI8-R). I tested text search and found that
if BOM present at the start of the file, file considered UTF-8,
otherwise file considered cp1251. But how about UTF-8 files which do not
have BOM mark at the beginning? When I program PHP I always remove BOM,
because othervise these BOMs are sended to the user-agent by server.
Notepad application still detects UTF-8 in such files, but Search is not
(see attached files). Also, how about KOI8? I didn't find any way to
specify encoding in search options.

Third case: how about different word forms in Russian? «One day» =
«Один день», «Three
days» = «Три дня», «Five days» =
«Пять дней», «All these
days» = «Все эти
дни»,... How I will find
«день» («day») with all possible forms?

It's a pity that Windows text search is completely useless.


+-------------------------------------------------------------------+
|Filename: testUTF8NoBOM.txt |
|Download: http://www.vistax64.com/attachment.php?attachmentid=16622|
+-------------------------------------------------------------------+

--
SAnton
  #14 (permalink)  
Old October 21st 09, 02:06 PM posted to microsoft.public.windows.vista.file_management
Retroman
external usenet poster
 
Posts: 104
Default find file containing text inside the file

On Wed, 21 Oct 2009 05:14:34 -0500, SAnton
wrote:

Imagine the folowing situation: I downloaded .zip-archive with thouzands
of .php-files. I unpacked the file to the folder at my Desktop (which is
indexed by default). I want to find all files containing string «Test».
So, I added «Plain text filter» to the .php files extension in the
indexing settings. Should I wait hours until the indexing will be done?
Or I can just search (more slowly)? I tryed and did not get any results!
So, I will wait. It's very annoying!

Another case: I want to find files containing Russian word
«Привет». The problem is that that
word can be encoded by different bytes depending on codepage (most
popular are cp1251, UTF-8, KOI8-R). I tested text search and found that
if BOM present at the start of the file, file considered UTF-8,
otherwise file considered cp1251. But how about UTF-8 files which do not
have BOM mark at the beginning? When I program PHP I always remove BOM,
because othervise these BOMs are sended to the user-agent by server.
Notepad application still detects UTF-8 in such files, but Search is not
(see attached files). Also, how about KOI8? I didn't find any way to
specify encoding in search options.

Third case: how about different word forms in Russian? «One day» =
«Один день», «Three
days» = «Три дня», «Five days» =
«Пять дней», «All these
days» = «Все эти
дни»,... How I will find
«день» («day») with all possible forms?

It's a pity that Windows text search is completely useless.

So, you find a few unusual situations that don't work as you would like
and you then conclude that Search is useless? That is laughable. I've
been using Windows Search on Vista for over two years, and overall it
works extremely well, once I learned how to use it.

Incidentally, the Desktop folder is *not* indexed by default. Try moving
your files to your Documents folder.

This forum is actually on Usenet, not on the "parasitic" Web forum that
you posted from. As a result, the HTML character entity references in
your examples are not decoded for most readers. It's unlikely that
English-speaking users are going to be able to help you anyway, since your
problems involve searching for Russian words. I suggest that you look for
a support forum for Russian-speaking users of Vista.

Doug M. in NJ
  #15 (permalink)  
Old October 21st 09, 02:06 PM posted to microsoft.public.windows.vista.file_management
Retroman
external usenet poster
 
Posts: 104
Default find file containing text inside the file

On Wed, 21 Oct 2009 05:14:34 -0500, SAnton
wrote:

Imagine the folowing situation: I downloaded .zip-archive with thouzands
of .php-files. I unpacked the file to the folder at my Desktop (which is
indexed by default). I want to find all files containing string «Test».
So, I added «Plain text filter» to the .php files extension in the
indexing settings. Should I wait hours until the indexing will be done?
Or I can just search (more slowly)? I tryed and did not get any results!
So, I will wait. It's very annoying!

Another case: I want to find files containing Russian word
«Привет». The problem is that that
word can be encoded by different bytes depending on codepage (most
popular are cp1251, UTF-8, KOI8-R). I tested text search and found that
if BOM present at the start of the file, file considered UTF-8,
otherwise file considered cp1251. But how about UTF-8 files which do not
have BOM mark at the beginning? When I program PHP I always remove BOM,
because othervise these BOMs are sended to the user-agent by server.
Notepad application still detects UTF-8 in such files, but Search is not
(see attached files). Also, how about KOI8? I didn't find any way to
specify encoding in search options.

Third case: how about different word forms in Russian? «One day» =
«Один день», «Three
days» = «Три дня», «Five days» =
«Пять дней», «All these
days» = «Все эти
дни»,... How I will find
«день» («day») with all possible forms?

It's a pity that Windows text search is completely useless.

So, you find a few unusual situations that don't work as you would like
and you then conclude that Search is useless? That is laughable. I've
been using Windows Search on Vista for over two years, and overall it
works extremely well, once I learned how to use it.

Incidentally, the Desktop folder is *not* indexed by default. Try moving
your files to your Documents folder.

This forum is actually on Usenet, not on the "parasitic" Web forum that
you posted from. As a result, the HTML character entity references in
your examples are not decoded for most readers. It's unlikely that
English-speaking users are going to be able to help you anyway, since your
problems involve searching for Russian words. I suggest that you look for
a support forum for Russian-speaking users of Vista.

Doug M. in NJ
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2018 Vista Banter.
The comments are property of their posters.