1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Explorer command line options for searching

Discussion in 'Legacy Windows' started by Miggie, 2004/03/30.

Thread Status:
Not open for further replies.
  1. 2004/03/30
    Miggie

    Miggie Inactive Thread Starter

    Joined:
    2004/03/30
    Messages:
    2
    Likes Received:
    0
    I'm trying to call the search for files and folders function in a project for college but i don't know the command line for explorer.exe.

    I have been able to find /e, /n, /root and /select but none of these is the parameter needed.

    Help, Anyone!
     
  2. 2004/03/30
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,314
    Likes Received:
    252
    Need more info. You bring up explorer and right click on the the C Drive and select Search. Then What?

    Are you looking for helpful searching hints like: Search for smith*.* which will seach and display all files that begin with smith
     

  3. to hide this advert.

  4. 2004/03/30
    Angel71

    Angel71 Inactive

    Joined:
    2003/09/01
    Messages:
    83
    Likes Received:
    0
    I don't think there is one. If you open regedit and go to

    [HKEY_CLASSES_ROOT\Drive\shell\find\ddeexec]
    @= "[FindFolder(\ "%l\ ", %I)] "
    "NoActivateHandler "=" "

    [HKEY_CLASSES_ROOT\Drive\shell\find\ddeexec\application]
    @= "Folders "

    [HKEY_CLASSES_ROOT\Drive\shell\find\ddeexec\topic]@= "AppProperties "

    You can see that the function opens a DDE conversation with Explorer.

    The simple way to launch Find (apart from hitting F3) is to create an empty file called say myfind.fnd and run that or use VBscript:
    Code:
    'myfind.vbs
    Option Explicit
    Dim Shell
    Set Shell = WScript.CreateObject ( "Shell.Application ")
    Shell.FindFiles
    
    Or you should be able to find some source code using Google...

    http://community.borland.com/article/0,1410,16711,00.html

    http://groups.google.com/groups?hl=...&selm=8km6or$165l$1@msunews.cl.msu.edu&rnum=5
     
    Last edited: 2004/03/30
  5. 2004/03/31
    Miggie

    Miggie Inactive Thread Starter

    Joined:
    2004/03/30
    Messages:
    2
    Likes Received:
    0
    Cheers, i went the easy way about it and called a saved search

    Thanks a lot, you don't know how big of a pain that was.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.