Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

want to filter by file type, and search by file name

search in windows 7


I type in
'search term'
in start menu

and then
'see more results'

but there is no filtering by file type
 If I am looking for a php file
I type in php
and get .txt where php is in

I only want to search for .php files with file name 'hello'

so

hello1.php
hello2.php
hello3.php



or

search for .php files with 'hello' in contents
ASKER CERTIFIED SOLUTION
Avatar of Lucian Constantin
Lucian Constantin
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

hello*.php

returned  .html files without hello in the title
In this case you may have some problems with your searching engine and I would recomment the Microsoft Troubleshooter - see steps here: How do I troubleshoot problems with search and indexing

When you will start the troubleshooter, in the next step check the option named "Files don't appear in search results". It may fix the problem...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

thanks
Regarding Everything Search Engine.

The following code is the result of the "Task" I authored to start the engine with Windows.  The task automates the User Account Control prompts allowing the application to run in the system tray beside the clock without manually intervening every time the system starts up.  I have shown the raw code only so you may see what is inside the attached importable XML file.

NOTE that my Window 7 is 64 bit, hence the C:\Program Files (x86)\ shown in the code near the bottom for the "path" to the executable and the Working Directory.  If your Windows 7 is 32 bit, you will need to open the XML (in notepad) and correct the paths to read C:\Program Files\ removing the (x86) so you don't get "not found" errors.

There is a also check box in the search engine application on the "General" Tab under the Tools menu when "Options" is selected.  The check box option to "Start Everything on startup" is selected by default.  This needs to be UNCHECKED so the Task you import can take over that function and avoid a double request for the engine to launch; a request that will trigger the annoying User Account Control prompts and a second instance of the application.

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2011-07-07T23:21:21.4915136</Date>
    <Author>Jim-PC\Jim</Author>
    <Description>Search Tool</Description>
  </RegistrationInfo>
  <Triggers>
    <LogonTrigger>
      <Enabled>true</Enabled>
      <Delay>PT30S</Delay>
    </LogonTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <GroupId>S-1-5-32-544</GroupId>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>StopExisting</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>true</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Priority>7</Priority>
    <RestartOnFailure>
      <Interval>PT1M</Interval>
      <Count>3</Count>
    </RestartOnFailure>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>"C:\Program Files (x86)\Everything\Everything.exe"</Command>
      <Arguments>-startup</Arguments>
      <WorkingDirectory>C:\Program Files (x86)\Everything\</WorkingDirectory>
    </Exec>
  </Actions>
</Task>

Open in new window


Again, the above code is shown only to illustrate what is inside the attached XML file.

To import the task on your system:

Download the attached Search Everything.xml file to a convenient location on your computer.

Click Start and start typing

Task Scheduler

into the Search box.  Task Scheduler should appear in the results so you may launch it from the search results.

Alternatively, Task Scheduler can be found in Control Panel under the Administrative Tools.

When Task Scheduler is running, choose the Action Menu and select "Import Task"

Navigate to where you saved the attached XML file and "Open" the "Search Everything.xml" file.

That's all.  Now when your system starts, the search engine will run in the background.  It uses so very little resources, you wont even notice it running.  You can also "Customize" the icon to always show, then when you need to use it, just double click on the icon now showing in the tray.

Search-Everything.xml