Multi Commander > Script

Passing command arguments from command line bar to user defined batch script

<< < (2/2)

Mathias (Author):
And why do you need MC to generate a bat.. Can you just use a normal bat file.?
then you get the paramters as normal bat paramters like %1 and %2 and so on..

mmg:
That's what I'm going to do now. So far it seemed to be pratical to have it all-in-one, as mentioned before...

Mathias (Author):
The idea of having MC generate bat files are more if you need it to interact with MC. so if you got part of the bat script that need the path of active panel.
Or if you need the selected file in the script and such.

If you do not really need MC to generate a dynamic custom script everything it is run. Then a fixed script is better. and then just make MC call that..

mmg:
Well, interaction with MC is needed in my example mentioned above. I have to run "git clone" from ${sourcepath}.

Mathias (Author):
This might work better in latest build 2469

Navigation

[0] Message Index

[*] Previous page

Go to full version