report quoted Fullname

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

report quoted Fullname

Post 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)

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

Re: report quoted Fullname

Post by highend »

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

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

Re: report quoted Fullname

Post 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

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

Re: report quoted Fullname

Post by highend »

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

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

Re: report quoted Fullname

Post by yusef88 »

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

Post Reply