That probably won't work; this is very dependent on what version you are running, as older versions did have a folder path and actual legacy files.
Here's a query from the most recent version: (searching for 'contains detail')
+contentType:FileAsset +title:'detail'^15 +deleted:false +working:true
I think that when you are referring to files, though, the 'folder' is not text-searchable, you need to get the
folder identifier (
+conFolder:513aec5b\-3aaa\-4df2\-b306\-83e77ba334d9)Obviously, if you have the option, use the 'Search' feature and use the 'show query'.
Sorry I can't be more precise - this can really be a pain.
Mark Pitely
Albright College