Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query for file in a particular location

Status
Not open for further replies.

robishaw

MIS
Nov 9, 2000
1
US
does anyone know how to write a query statement that will search for an (inventoried) file in a certain location? I wrote a query to search for 'user32.dll'. The query results lists more than one reference per system. I don't know which reference is the one I am looking for (i.e. c:\winnt\system32). Can anyone advise me how to set up a query to look SPECIFICALLY IN c:\winnt\system for the file info. I would appreciate any advice. Thanks.
 
The information you require is not available in the SMS database. All that shows in resource explorer is all there is. Unless you can identify the file you require from these fields, you're ...er ....stuck. :-I
 
However, if you collect the file, then the field "File Path" is available to query and this does holf the full pathname. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top