I've created a custom column which displays the drive letter of files and folders. The code is:
Code: Select all
$drive = getpathcomponent(, "Drive");
return $drive;
It works fine for normal folders. However, I want to use it for my virtual folders so I know which drive a particular item is on but it doesn't work. Instead of displaying the drive letter, the column displays all the paths of the virtual folder. Is there something I'm not doing right, or is it not possible for virtual folders?
2024-10-20_150435.png
The custom column settings are:
2024-10-20_151535.png
You do not have the required permissions to view the files attached to this post.