News:

MultiCommander v16.6 is released!

Main Menu

MUITICOMMANDER support relative path?

Started by bettersjb, March 05, 2012, 06:19:36

Previous topic - Next topic

bettersjb

Can I call the portable program in the usb disk on the BUTTONPANEL? How to configure BUTTON to call PORABLE APP in the usb disk to open several files selected?
Thanks ~

Mathias (Author)

Yes.

Just make sure the path to program you enter is a correct relative path. relative to the installation folder of Multi Commander.

Eg
MultiCommander is installed in E:\MCPortable\
You got Notepad++ in E:\Bin\Notepad++\Notepad++.exe

Then call notepad++.exe using a relative path like
"..\Bin\Notepad++\Notepad++.exe"

For example if using "custom commands" for the button and you want the program to get the file in focus as a parameter
MC.Run CMD="..\Bin\Notepad++\notepad++.exe" ARG="${focusfilepath}"


bettersjb

THANKS,I'm successful to do it.
MC is a good file manager,and I wish it better.