Code: Select all
foreach( $item, <allitems>, " " ) {
$ext = getpathcomponent($item, "ext");
echo $ext;
}
Code: Select all
MP4"getpathcomponent($item, "base");works fine.
[EDIT]
I just noticed that, instead of using <allitems>, if I use get("ItemsPathNames"), then getpathcomponent($item, "ext"); worked!
XYplorer Beta Club