Questions about parameters:Gets the path of the selected items without file names

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Norn
Posts: 416
Joined: 24 Oct 2021 16:10

Questions about parameters:Gets the path of the selected items without file names

Post by Norn »

I have searched the help file, no parameters found about "Gets the path of the selected items without file names".
<get SelectedItemsPathNames>
<selitems>
Win10, Win11 @100% 2560x1440 22H2

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

Re: Questions about parameters:Gets the path of the selected items without file names

Post by highend »

regexreplace(<get SelectedItemsPathNames>, "\\[^\\]+$");
One of my scripts helped you out? Please donate via Paypal

Norn
Posts: 416
Joined: 24 Oct 2021 16:10

Re: Questions about parameters:Gets the path of the selected items without file names

Post by Norn »

Thanks. Can it be indented to one space?...
E:\DI\Data E:\DI\files E:\DI\M
Win10, Win11 @100% 2560x1440 22H2

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

Re: Questions about parameters:Gets the path of the selected items without file names

Post by highend »

Use replace(...) additionally?
One of my scripts helped you out? Please donate via Paypal

Norn
Posts: 416
Joined: 24 Oct 2021 16:10

Re: Questions about parameters:Gets the path of the selected items without file names

Post by Norn »

Ok, thanks for the reply.
Win10, Win11 @100% 2560x1440 22H2

Post Reply