I am trying to provide functionality to an application to show files in the Windows Explorer search screen that contain order numbers. I can make this work on a local drive but can not get it to work on a network drive. To find a file with 11837 in it's name on the local drive I use
Shell(explorer.exe "search-ms://query=filename:*11837* folder:I:\Access Work\Public\")
To test on a network drive I use:
Shell(explorer.exe "search-ms://query=filename:*11837* folder:\\WIN-S33HCF5D2R7\Users\Public\)
The first search brings up the Explorer search window with the files with the search string in their name. The second search using the network path does not find the files at that location. I really can't find any documentation on command parameters or required structure for Explorer.exe so am trying this forum.
Any insight that can be provided will be much appreciated. I have spent way too much time on this.
Thank you in advance.