Can I do a "one-time" file content search in Windows Server 2008 without adding the folder to the index?
Posted
by
G-.
on Super User
See other posts from Super User
or by G-.
Published on 2011-02-18T12:56:28Z
Indexed on
2011/11/28
18:10 UTC
Read the original article
Hit count: 291
Can I search for files which contain a specific string in a folder if that folder is not in the search index?
So, lets say folder 'textFiles' is not in the index. I navigate to this folder in windows explorer. I type '.ini' in the search box I want to see a result list containing only 'b.txt'
FOLDER C:\textFiles\
FILE a.php
CONTENT once twice thrice mice moose monkey
FILE b.txt
CONTENT mingle muddle middle.ini banana beer
FILE c.spo
CONTENT sellotape stapler phone book
I do not have permission to add folders to the windows index and I do not have permission to install or run any executables that did not ship with the server or approved applications.
I'd be happy with a windows native command line solution if necessary?
Thanks G
© Super User or respective owner