folderreport: filesrel vs files

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

folderreport: filesrel vs files

Post by binocular222 »

Code: Select all

folderreport("filesrel:{Basename}", "r")
return filename with extension

Code: Select all

folderreport("files:{Basename}", "r")
return filename without extension
Is this intentional?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: folderreport: filesrel vs files

Post by TheQwerty »

This is correct.

filesrel does not accept an additional template like files does, so it will always return the name + relative path.

Post Reply