FG
šŸ’» Software

Can I do a "one-time" file content search in Windows Server 2008 without adding the folder to the index?

Fresh5 days ago
Mar 15, 202611188 views
Confidence Score0%
0%

Problem

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' I do …

Error Output

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
…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can I do a "one-time" file content search in Windows Server 2008 without adding the folder to the index?

Low Risk

You can do this with the command line tool findstr.exe provided by Microsoft. Open a command prompt and navigate to c:\textfiles run command note: you can add /S to search all subdirectories Full details on FINDSTR

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment