We are looking for a solution to search for files on a Shared Directory from PI instead of having to Open Windows explorer. Trying to eliminate a step for out Operators.
thanks in advance if anyone can help
You could launch an explorer window with a custom filter from a VBA code like the one below. That will launch a search for PDI files within the desired location (c:\temp\ in this example)
Dim query As String
query = "explorer.exe " & Chr(34) & "search-ms:query=*.pdi&crumb=location:c:\temp\" & Chr(34)
Call Shell(query, vbNormalFocus)
Retrieving data ...