Author Topic: run batchfile in selected folders in a panel  (Read 11627 times)

Klaas Hobo

  • Newbie
  • *
  • Posts: 7
    • View Profile
run batchfile in selected folders in a panel
« 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...

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: run batchfile in selected folders in a panel
« Reply #1 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..