Page 1 of 1

report quoted Fullname

Posted: 15 Jun 2019 02:25
by yusef88
Hi everyone
I'm trying to get quoted path of selected folders so I can search them by Everything
I need results to be like this: "E:\folder1\" | "E:\PDF\"
my code text report("{Fullname}\ | ", 1)

Re: report quoted Fullname

Posted: 15 Jun 2019 03:40
by highend
If trailing backslashes aren't a necessity:
text quote(get("SelectedItemsPathNames", '" | "'));

Re: report quoted Fullname

Posted: 15 Jun 2019 04:43
by yusef88
it is necessary to make everything search inside folders https://www.voidtools.com/forum/viewtop ... 840#p16520
that will do text quote(get("SelectedItemsPathNames", '\"|"'));
Thanks

Re: report quoted Fullname

Posted: 15 Jun 2019 06:14
by highend

Code: Select all

text quote(get("SelectedItemsPathNames", '\"|"'));
Not fully. The last selected element will not have the trailing backslash

Re: report quoted Fullname

Posted: 15 Jun 2019 06:33
by yusef88
not a problem. I will add it manually :kidding:
Thanks