Command line search question
Started by Q Section


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


5 posts in this topic
Q Section
Weapons Я Us
*****


0
899 posts 100 threads Joined: Feb 2003
05-20-2009, 10:43 AM -
#1
This question was originally posted by snafu in another spot:

Is there a way to search the contents of a specific folder on the hard drive using commandline search?
HMSS Q Section
click here for 30+ ideas from a Special Plugin List
some examples=
UV Index Monitor, Allergy Monitor, TLB Version Monitor, Cinema Monitor
Visualise World Righteousness
Semper Ad Fundum
Working for the Secret Intelligence Service
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
05-20-2009, 02:18 PM -
#2
I've searched any information about this. The only information I've found is the Windows Search protocol (search-ms).

But I can't get this protocol working Sad Generally the search url looks like:
Code:
search-ms:query=%s&crumb=folder:C:\MyFolder&

But it opens the windows search with the text I typed. But explorer ignore the folder and don't search anything Sad
The TORDEX Team
http://www.tordex.com
virtualdori
Junior Member
**


0
20 posts 4 threads Joined: May 2009
05-20-2009, 03:59 PM -
#3
Windows Vista allows you to install (download) Windows Desktop Search 4 as a replacement indexing service. Perhaps I'm wrong but I think Windows Desktop Search has an API for it, although maybe it's only for filtering additional file types...
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
05-20-2009, 04:33 PM -
#4
Downloaded Windows Desktop Search 4 but is don't want to be installed on my Vista Sad

But found the other thing. If I enable the indexing service it is possible to search in the indexed files using the url:
Code:
search-ms:query=%s&
The TORDEX Team
http://www.tordex.com
virtualdori
Junior Member
**


0
20 posts 4 threads Joined: May 2009
05-20-2009, 08:33 PM -
#5
Thank you mr. Kobets, that search string brought the command line to the next level for me.

However I still believe there could be a room to improve.

Quote:System search APIs can be used to provide fast search capabilities within third-party applications, such as a search box placed directly within the application frame or window.
For developers
<!-- m --><a class="postlink" href="http://www.microsoft.com/windows/products/winfamily/desktopsearch/choose/windowssearch4/developers.mspx">http://www.microsoft.com/windows/produc ... opers.mspx</a><!-- m -->

Perhaps you downloaded an older or incorrect version from before it was supported on Vista? They dropped the "desktop" part from it's name recently.
<!-- m --><a class="postlink" href="http://www.microsoft.com/windows/products/winfamily/desktopsearch/choose/windowssearch4.mspx">http://www.microsoft.com/windows/produc ... arch4.mspx</a><!-- m -->

I'm not into development myself so I'm not very literate on the documentation. I can't tell for sure if this would fit for TLB but I truly hope so as I wish to interact with the OS as little as possible...


Forum Jump:


Users browsing this thread: 1 Guest(s)