Page 1 of 1
Full path column is blank for some items in search results
Posted: 19 Jul 2014 23:43
by crawfish
I'm using 14.30 on Windows 8.1 x64, and I've created a Column Layout consisting of MD5 and the full Path (not the normal "Path", which is just the containing directory), which is Special Property 185, also named "Path", which I will call FullPath for clarity. I just ran my search which helps me maintain a database of hashes, and after loading this Column Layout, I found two out of 45 found items have blank FullPath columns, though their Path and filename columns are populated in the normal Column Layout. I cannot see any difference between these two files and the others in the results. Here's a partial screenshot:
Untitled.jpg
As you can see, the FullPath is blank for items #44 and #45, but the filename for the selected #45 is in the status bar. It is in the same folder as file #43 above it in the list. I've sorted the column by FullPath, but this didn't have any effect on the problem. If I switch back to my normal Column Layout, the Path and filename appear. If I switch again to my Hashes layout, the FullPath is blank for these two items. The other blank item has no dots in its filename, so it isn't that. Any ideas?
Re: Full path column is blank for some items in search resul
Posted: 20 Jul 2014 12:16
by admin
Confirmed. I could see the same with a couple of files. It seems that all those files have an invalid format (the contents do not conform to the extension). Can you confirm this?
These properties are generated by the shell, I have no influence on it, I (=XYplorer) just report what the shell returns to me. And here the shell returns an empty string.
However, I noted that Explorer does show those values even for invalid files. So, here is another case where Explorer uses some black magic.
Re: Full path column is blank for some items in search resul
Posted: 20 Jul 2014 22:23
by crawfish
The selected file is the Notepad++ installer, and I installed the program using the file. I just downloaded a fresh copy, and it compares identical:
http://notepad-plus-plus.org/download/v6.6.7.html
It's definitely a valid executable.
If the shell API isn't working for whatever reason, is there another way to get the full path to the file? Perhaps a different property I overlooked? I really need to be able to get the full path to the file in a single column, and I think it should be one of the fundamental properties listed up at the top with Path, Name, etc. Since Path and Name work on these "bad" files, I guess you could concatenate the two when necessary or just do it all the time if you add a new standard property. Having to seek out "Special Property 185" was pretty off the beaten track. Until then, I should be able to change my Column Layout to have Path and Name instead of the malfunctioning FulllPath and stitch them together in, ironically, Notepad++.
Or what about creating a custom column that stitches the parts together? Creating one out of <Prop #182><Prop #0> just returns the filename, because #182, Folder Path, is derped just like #185. How can I get the path that XYplorer displays when I check "Path" in the columns menu?
ETA: A workaround seems to be a scripted column using "return <cc_path> . <cc_name>". Cool!
Re: Full path column is blank for some items in search resul
Posted: 21 Jul 2014 06:53
by bdeshi
Curious.
changing the file extension(s) return correct results (but the path column doesn't seems to refresh automatically)
BUT, the new extension should be such that the OS doesn't look for metadata (for example, OS obtains metadata for exe, jpg, mp3 etc, from the file)
Re: Full path column is blank for some items in search resul
Posted: 21 Jul 2014 08:57
by admin
Nobody knows what the shell does under the hood.
crawfish wrote:ETA: A workaround seems to be a scripted column using "return <cc_path> . <cc_name>". Cool!
Yep, that's it. You are quick for a new newbie!
