Author Topic: MUITICOMMANDER support relative path?  (Read 13743 times)

bettersjb

  • Newbie
  • *
  • Posts: 5
    • View Profile
MUITICOMMANDER support relative path?
« 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 ~

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4407
    • View Profile
    • Multi Commander
Re: MUITICOMMANDER support relative path?
« Reply #1 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}"

bettersjb

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: MUITICOMMANDER support relative path?
« Reply #2 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.