Full path column is blank for some items in search results

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
crawfish
Posts: 35
Joined: 19 Jul 2014 23:21
Location: Windows 11 Pro, scaling 100%

Full path column is blank for some items in search results

Post 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?
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67280
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Full path column is blank for some items in search resul

Post 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.

crawfish
Posts: 35
Joined: 19 Jul 2014 23:21
Location: Windows 11 Pro, scaling 100%

Re: Full path column is blank for some items in search resul

Post 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++. :lol:

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!

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Full path column is blank for some items in search resul

Post 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)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 67280
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Full path column is blank for some items in search resul

Post 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! :appl:

Post Reply