Windows Explorer search in specific folder

Home Forums Tweak help Windows Explorer search in specific folder

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #855 Reply
    Anonymous
    Inactive

    I have a user who wants to do the following “defaulting to C: for a search”, when you go to the start menu and try to search, if goes to “local hard drive” which we don’t have so if you could make that “desktop” that would work for us. ”

    Is there a registry edit that can change the default path for the Search Results window?

    Thanks

    #1495 Reply
    Snakefoot
    Member

    Seems the Windows Explorer search cannot be easily controlled. I would probably ask the customer if another search tool would do. Maybe Google Desktop or something like locate32

    But if Windows Explorer should be used, then one can use VBScript to open the search dialog, and then automatically send keyboard events to change the search location to the C-drive.

    Dim objShell, WshShell

    Set objShell = WScript.CreateObject(“Shell.Application”)

    set WshShell = WScript.CreateObject(“WScript.Shell”)

    objShell.FindFiles

    WScript.Sleep 500

    WshShell.AppActivate “Find: All files”

    WScript.Sleep 500

    WshShell.SendKeys “foo{tab}bar{tab}”

    WScript.Sleep 500

    WshShell.SendKeys “c:windows{enter}”

    What operating system are the customer using ?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Windows Explorer search in specific folder
Your information:





<a href="" title="" rel="" target=""> <blockquote cite=""> <code> <pre class=""> <em> <strong> <del datetime="" cite=""> <ins datetime="" cite=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">

Comments are closed.