Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Find All the Files in a Directory Tree that Contain a Specific Word or PhraseContent of Find All the Files in a Directory Tree that Contain a Specific Word or Phrase.vbsMD5 Hash: 0FF4D24C1598EE3FDF1D955CC3BFBD79 |
||
On Error Resume Next
Set objConnection = CreateObject("ADODB.Connection") Set objRecordSet = CreateObject("ADODB.Recordset") objConnection.Open "Provider=Search.CollatorDSO;Extended Properties='Application=Windows';" objRecordSet.Open "SELECT System.ItemPathDisplay FROM SYSTEMINDEX WHERE Contains('Alice') " & _ "AND System.ItemPathDisplay LIKE 'C:\Scripts\%'", objConnection objRecordSet.MoveFirst Do Until objRecordset.EOF Wscript.Echo objRecordset.Fields.Item("System.ItemPathDisplay") objRecordset.MoveNext Loop | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |