I have an app that creates options.xml files when it analyzes text files.
When I want to delete the processed files, I search on options.xml.
When it comes back with those folders, I want to select certain folders and delete those selected folders.
Is there a way to do that?
How to select entire folder for file found?
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How to select entire folder for file found?
Append {space}+
/p to your search term?One of my scripts helped you out? Please donate via Paypal
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: How to select entire folder for file found?
If you mean you want to see the options.xml files in the list, maybe hoverbox/view them, then select a few and then delete their parent folder (and all its contents), you could use a script like this:
Be extremely cautious with what you have selected when you run it though.
delete 1, 1, report("{FullPath}<crlf>", 1);Be extremely cautious with what you have selected when you run it though.
XYplorer Beta Club