Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: bettersjb on March 05, 2012, 06:19:36

Title: MUITICOMMANDER support relative path?
Post by: bettersjb on March 05, 2012, 06:19:36
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 ~
Title: Re: MUITICOMMANDER support relative path?
Post by: Mathias (Author) on March 05, 2012, 13:50:24
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
Code: [Select]
MC.Run CMD="..\Bin\Notepad++\notepad++.exe" ARG="${focusfilepath}"
Title: Re: MUITICOMMANDER support relative path?
Post by: bettersjb on March 05, 2012, 17:06:37
THANKS,I'm successful to do it.
MC is a good file manager,and I wish it better.