Quantcast
Channel: VBForums - API
Viewing all articles
Browse latest Browse all 168

Windows Desktop Search Scope question

$
0
0
Hi everyone,
I have coded a search form to use in Access using Desktop Search (WDS 4 )
I have read a few code snippets where this kind of thing is quoted:

Code:

"SELECT System.FileName,
            System.ItemPathDisplay,
                System.DateCreated
    FROM SYSTEMINDEX
    WHERE System.FileExtension = '.doc' AND SCOPE = 'file:c:\files'",

But I cannot for the life of me add any scope that is not \Users ... eg C:\Users\Peter\Documents
I cant enter c:\myfolder, c:\temp or any other path that is not "Users".
AM I missing something? Is it a security thing??? Any help appreciated, have been trying for 2 days.
The routine is blindingly fast, since it uses the same API calls as windows explorer search.

Farn

Viewing all articles
Browse latest Browse all 168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>