Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: Klaas Hobo on February 24, 2020, 21:00:48

Title: run batchfile in selected folders in a panel
Post by: Klaas Hobo on February 24, 2020, 21:00:48
I would like to run a batchfile in many selected folders from a search. For this I have put the command for the batchfile under a button.

So first I do a search and get a lot of folders in the right hand panel. Then I would like to select a folder in the panel (not click on it to go into the folder but just selection) and I want to click on my button to execute the batchfile in that folder without leaving the list of folders.

If I move to the path of a folder and run the batchfile with the button that's working fine. But I have a lot of folders that need to be done without knowing yet witch one...
Title: Re: run batchfile in selected folders in a panel
Post by: Mathias (Author) on February 25, 2020, 11:36:41
You should be able to do this using MultiScript.  (UserDefinedCommand of MultiScript type)

From the script you can get all selected, and then loop all the items and execute a command for each items..