report quoted Fullname

Discuss and share scripts and script files...
Post Reply
yusef88
Posts: 945
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

report quoted Fullname

Post by yusef88 » 15 Jun 2019 02:25

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)

highend
Posts: 8477
Joined: 06 Feb 2011 00:33

Re: report quoted Fullname

Post by highend » 15 Jun 2019 03:40

If trailing backslashes aren't a necessity:
text quote(get("SelectedItemsPathNames", '" | "'));
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

yusef88
Posts: 945
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: report quoted Fullname

Post by yusef88 » 15 Jun 2019 04:43

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

highend
Posts: 8477
Joined: 06 Feb 2011 00:33

Re: report quoted Fullname

Post by highend » 15 Jun 2019 06:14

Code: Select all

text quote(get("SelectedItemsPathNames", '\"|"'));
Not fully. The last selected element will not have the trailing backslash
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

yusef88
Posts: 945
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: report quoted Fullname

Post by yusef88 » 15 Jun 2019 06:33

not a problem. I will add it manually :kidding:
Thanks

Post Reply