News:

MultiCommander v16.6 is released!

Main Menu

get path from both explorer panels

Started by karthik, August 24, 2012, 09:59:46

Previous topic - Next topic

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)

#1
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
"D:\test.bat" ${sourcepath} ${targetpath}

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.