select all folders with exclusion

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

select all folders with exclusion

Post by swan_x »

i need script or shortcut to select all folder except 2 specified folders.
is good by "selection filter" put name of folder that i want to keep, then "invert selection", but i need simply command or shortcut or script
because my origin folder changes, it's not always the same...
tanxs to everybody for your help.

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

Re: select all folders with exclusion

Post by highend »

selectitems formatlist(listpane(, , 2+4), "F", , "!" . "folder 1|folder 2");
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: select all folders with exclusion

Post by swan_x »

wow! many tanxs. really what i wanted...
command not easy anyway.... alone i would never get there. Thank you

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: select all folders with exclusion

Post by swan_x »

this command work fine.

another request: if i want delete all folder selected ... how to?
i have try with:

Code: Select all

delete 0, 0, formatlist(listpane(, , 2+4), "F", , "!" . "folder 1|folder 2");
but without success...

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

Re: select all folders with exclusion

Post by highend »

delete 0, 0, formatlist(listpane(, , 2), "F", , "!" . "folder 1|folder 2", "f");
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: select all folders with exclusion

Post by swan_x »

yes, work fine.
many tanxs for your help.

Post Reply