News:

MultiCommander v16.6 is released!

Main Menu

run batchfile in selected folders in a panel

Started by Klaas Hobo, February 24, 2020, 21:00:48

Previous topic - Next topic

Klaas Hobo

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...

Mathias (Author)

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..