Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 468
  • Last Modified:

Setting Windows explorer search default

Does anyone know of a way to start Windows Explorer's search function based on a certain location.

I am using Windows 7 and whener you open a search window by pressing WinKey + F the search location defaults to 'My Documents' - I want it to default to searching the entire computer.

I don't want to have to open Explorer to the correct folder before beiginning a search from the top right of the window. Ideally I would like to be able to open the search from a command line switch so that could be automatted in a program.

Does anyone have any ideas ?
0
AL_XResearch
Asked:
AL_XResearch
  • 9
  • 4
  • 3
1 Solution
 
steveb_49Commented:
If you hit Winkey+f and in the search window click on 'Change Preferences'
Click on 'Change file and folder behaviour'
Select 'Advanced'
The next time you fire up Winkey+f it will open with the C:drive as default search location.
0
 
AL_XResearchAuthor Commented:
Hi 'steveb_49', thank you for your response but I can find no such option in the search Window. I am using Windows 7 and the search window a) allways requre you start searhing before the window is fully displayed and b) does not have such a prompt - only [Organise - Folder and search options] which does not have an settings I can find.
0
 
sjklein42Commented:
Do a search manually one time, filling in all the options the way you like.

Then, while the results window is visible, go to File/SaveSearch.  Save the search (it only saves your settings).

Then, when you "run" the saved search file, a Search window should open with all your settings already filled in.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
AL_XResearchAuthor Commented:
Yes but my question was : how can I open a search window set to search in a specific folder when I am ready. I do not want to run the same search each time but rather have the window open, wait for my search parameters and then when I press 'GO' it will start the search from the pre-defined location - rather than from 'My Documents' with my having to wait until the search is finished to then select 'My computer' so that it looks in the correct location.
0
 
sjklein42Commented:
If you tried my solution of opening a Saved Search, I think you would see that it does not run the search, but it simply opens the search window with your pre-defined location filled in and waits.  You should have a chance to change the settings and then GO.

Didn't it work that way for you?
0
 
AL_XResearchAuthor Commented:
No I am afraid not - when I opened the search file it immediatly started the search and becuase the option to change the seach location is at the bottom of the results (which increase rapidly) it is hard to catch the icon in item to click if before it moves as new results are added.

This could be becuase the search was saved with a search string of '*' but unless you provide an item to search on Windows will not show the normal window contents and you cannot select the search location. If you add the search string, wait and then remove the string the window resets itself to hide the search location icons.

I can't belive such a basic option would have been removed from Windows.

I have been looking to see if there is an command line for Windows Explorer that will allow me to do that this - but without success.
0
 
sjklein42Commented:
That's too bad.  When I open the ".fnd" file on my system (XP) it simply opens the search window and waits.  Must be a change between XP and W7.

I have found some Visual Basic examples that will open the Search box with programmable initial settings, but nothing easy.

Yes, it is hard to believe there is no command-line for this.
0
 
AL_XResearchAuthor Commented:
Can you direct me to the site for the VB ? That would be useful to know that in any case.
0
 
sjklein42Commented:
Like I said, they're messy, but interesting.  Sorry I could not find a good solution.

http://www.pcreview.co.uk/forums/launching-search-explorer-exe-form-command-line-t1468270.html

(creating a temporary VBScript file:

@echo off
echo CreateObject("Shell.Application").FindFiles >%temp%\myff.vbs
cscript.exe //Nologo %temp%\myff.vbs
del %temp%\myff.vbs

Open in new window

and http://www.pcreview.co.uk/forums/launching-search-explorer-exe-form-command-line-t1468270.html
0
 
steveb_49Commented:
Have a look at this, it may be workable, I haven't checked it all out but there are some clues in there.

http://www.sevenforums.com/tutorials/129437-windows-search-configure-use.html
0
 
AL_XResearchAuthor Commented:
Thanks, these are excellent and useful articals. I can now create a shortcut to a search window but I still cannot pre-specify which location to search in.
0
 
AL_XResearchAuthor Commented:
Anyone else have a suggestion ?
0
 
AL_XResearchAuthor Commented:
I have a found some useful information on the windows search protocol at the below address - although I have yet to make it work :

http://msdn.microsoft.com/en-us/library/cc144083(v=vs.85).aspx
0
 
AL_XResearchAuthor Commented:
I think I will have to accept that this is no longer possible through the Explorer inrterface in Windows 7
0
 
AL_XResearchAuthor Commented:
It looks like this is not possible in Windows 7
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 9
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now