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: 521
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>
Windows 11 24H2 @100% 2560x1440

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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: 521
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
Windows 11 24H2 @100% 2560x1440

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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: 521
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.
Windows 11 24H2 @100% 2560x1440

Post Reply