1. like "ctrl + p" in xyplorer
2 . but it also support copy target path of shortcut file ".lnk" (also copy filepath of target file if selected files are window shortcut ".lnk" file) :
I found highend code and i edited it ,it works but the result has linebreaker at the end ,which i don't want:
Code: Select all
$items = "";
foreach($item, "<get SelectedItemsPathNames |>") {
if (exists($item) != 1) { continue; }
$shortcut = property("#ShortcutTarget", $item);
if ($shortcut) { $item = $shortcut; }
$items = $items . ($item) . "<br>";
}
trim("$items","<br>","R");
copytext $items;i want to remove/trim the ending linebreaker ,but this code does not worke:/files/testfile1.doc
e:/files2/testfile2.doc
(this line has ending line breaker)
Code: Select all
trim("$items","<br>","R");Thanks
XYplorer Beta Club