Multi Commander > Support and Feedback

get path from both explorer panels

(1/1)

karthik:
I would like to call a batch file from within MC using the paths displayed in the two explorer panel path rows as arguments... Something like

runbatch.bat leftpath rightpath

Is there a way to do this?

Mathias (Author):
Multi-Tags can be used in Bat/External and Custom Commands and since you are calling an external bat your choice should be external.

So for example

Create a User Command of type : External

--- Code: ---"D:\test.bat" ${sourcepath} ${targetpath}
--- End code ---

karthik:
That helps. But when the source path has a space character the string breaks and does not show the full path.

karthik:
Figured that out. A double quote does the job. Thanks.

Navigation

[0] Message Index

Go to full version