Questions tagged [windows-search]

Windows Search(former Indexing Service, up to Windows Vista), also known as Windows Desktop Search, is the Windows service that indexes files on the user's hard drive.

107 questions
1
vote
0 answers

C# Windows Search: how to detect that a location is in search index without interop library?

We use Windows Search in our application and need a way to detect is folder indexed. I know 2 ways to do it: 1. Using Microsoft.Search.Interop.dll library. 2. Using Windows Search Sample Code (maybe a bit changed) as an .exe file called from C#…
Taras Kozubski
  • 1,854
  • 1
  • 20
  • 33
1
vote
0 answers

Getting wrong value for variant_date_to_timestamp() function

In relation with this question, I'm getting a wrong value for the the modified date when querying the windows ADODB connection for indexing files. This is the line or the query: $recordset - > Open("SELECT System.ItemName, System.DateModified FROM …
Alvaro
  • 40,778
  • 30
  • 164
  • 336
1
vote
1 answer

C# SystemIndex catlog is not retrieving recently added files

I am querying SystemIndex catlog to show recently added files in my application. But sometimes, SystemIndex is not bring up the very recently added files. Do we have any solution for this issue? My Query is like below SELECT "System.ItemName",…
user3366358
  • 23
  • 1
  • 6
1
vote
1 answer

Change System.DateModified format on Windows Search

I'm using Windows Indexing search together with PHP to search inside thousands of files. I got it working by using the PHP COM class: $conn = new COM("ADODB.Connection") or die("Cannot start ADO"); $recordset = new COM("ADODB.Recordset"); $conn - >…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
1
vote
1 answer

set MaxRecords with Java Jacob library

I'm trying to make use of Windows Search by using java Jacob library. but I'm having troubles to specify the maxRecords option to limit the number of rows get back. I'm trying to do it by using this line: Dispatch.put(connection, "MaxRecords", new…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
1
vote
1 answer

.NET code to be replaced by PowerShell cmdlet in PS1

Hi I wrote the following code in PowerShell version 2. I am leveraging C#.NET code to query Windows search for PDF files in a specific folder entered by user, against the values in Excel file. If the value is found in one of the PDF files, it…
Annie
  • 3,090
  • 9
  • 36
  • 74
1
vote
1 answer

Constructing a Windows Search query

We have a website in which we will be using the Windows Search feature to allow users to search the pages and documents of the site. I would like to make the search as intuitive as possible, given that most users are already familiar with…
DCNYAM
  • 11,966
  • 8
  • 53
  • 70
1
vote
1 answer

Advanced query syntax: canonical name for 'Protected' file property

I'm trying to form a canonical query to search for all music files that aren't protected on a Windows 8 device. The reason for the canonical syntax is that the traditional 'kind:=music AND protected:=no' would need to be localized, which I want to…
siger
  • 3,112
  • 1
  • 27
  • 42
1
vote
1 answer

Automatically take list of terms, import into Windows search function (for content), and export lists of results. (AutoIT?)

My next big challenge is to write a script (I assume it would be in AutoIT, an area I have little experience with) to automate the Windows search function. The end goal is to take a list of search terms from a .txt file (one string per line), and…
1
vote
0 answers

Access windows control panel items (applets) via c# code

I am new to this and i have a small task. I want to access the control panel items, perform search and display their name, description and task lists etc what ever I can access in my window. Something similar to what windows explorer search…
Milan Aggarwal
  • 5,104
  • 3
  • 25
  • 54
1
vote
1 answer

Read file metadata via Windows Search from MFC program

I would like to read metadata of a DWG/AutoCAD file via Windows Search indexing service. I'm talking about properties that can be accessed with the right click in explorer without opening AutoCAD. I have an MFC dialog based application written in…
1
vote
1 answer

How to change the Windows Search Index location using powershell?

The Default location for Windows Search index is C:\ProgramData\Microsoft. In my case this location is on a SSD with limited space. Hence i want to move the index cache to a different drive with more of space. I know how to do this using GUI. I…
Prabhu M
  • 483
  • 2
  • 7
  • 9
0
votes
1 answer

Which Windows System Property returns actual path from SQL Windows Search

I am querying Windows Search using SQL SELECT System.ItemName, System.ItemPathDisplay FROM SystemIndex WHERE SCOPE = 'file:C:/ProgramData/Microsoft/Windows/Start Menu' AND System.ItemName LIKE '%remote%' And this is what is returned with the…
Michael T
  • 619
  • 6
  • 19
0
votes
0 answers

Does SystemIndex in Window Search Service query only gets C:/Users/{currentUser}/ directory?

I looking for an efficient way to list all files in the drives. The easy way would be to list files in C#: static void Main(string[] args) { SearchFiles("C:\\", ".txt"); } public void SearchFiles(string rootDir, string…
Fatima A.
  • 41
  • 13
0
votes
0 answers

OLEDB Search Indexed Files, special Characters get indexed wrong

So I have these indexed text files with German Characters like ä in them. The characters are getting displayed in the little preview like 'ä' instead of this 'ä'. The Windows search also does not recognize them. enter image description here I also…