Home » Questions » Computers [ Ask a new question ]

In Vista Explorer, how can I search the contents of all files in a directory for a word?

In Vista Explorer, how can I search the contents of all files in a directory for a word?

I have a PHP website in a directory on Vista.

Asked by: Guest | Views: 332
Total answers/comments: 5
Guest [Entry]

"I have also searched far and wide for this. It seems the ""include non-indexed"" options still excludes certain file types (I have set up a similar test, and if I rename the file to .txt it works, rename back to .php and it can't find it). It seems the only way to get around that is to actually force vista to search that file type instructions here.

However for me prepping Vista for every extension I might want to search isn't a solution. I tend to use a free utility called agent ransack. It allows you to specify a folder, and will search for file contents, and considering its brute force mechanism, it is surprisingly fast."
Guest [Entry]

You might have to go to options for searching under control panel and enable it to search hidden files and folders?
Guest [Entry]

"go DOS !

open a cmd prompt and search using 'findstr'

C:\> findstr /I ""$output"" C:\data\*.php5

check out all the options doing findstr /?

You can even 'pipe' or 'redirect' the output"
Guest [Entry]

"Run powershell:
""Matches found in:`n""
Get-ChildItem ""FolderPath"" | Foreach {
If((Get-Content ""$_.Fullname"" | Select-String ""output"")){
$_.Fullname
}
}"
Nksrjk [Entry]

buy lipitor 40mg online cheap <a href="https://lipiws.top/">buy lipitor</a> lipitor sale