Author Topic: Quick Lauch Item command path problem  (Read 18736 times)

gzycy

  • Junior Member
  • **
  • Posts: 24
    • View Profile
Quick Lauch Item command path problem
« on: December 11, 2012, 07:24:16 »
hello,
       i try to easy java decomplie operation by adding  "java decompiler tool" to  quick lauch command of MC. but there is a problem.
       when i put jd-gui.exe in D:\Tools\JAVA\JAVADC\jd-gui-0.2.10.windows\jd-gui.exe,and drag this exe to quick lauch, and then drag a class file to this item on quicklauch,MC only lauch jd-gui.exe WITHOUT commandline parameters,then jd-gui.exe don't open any file.
       but when i put to D:\Tools\JAVA\JAVADC\jdui\jd-gui.exe,everthing work fine.MC lauch jd-gui.exe with filename of my selection as commandline parameter,so jd-gui.exe decompile my class file .


     and also,i try to put a exe with long path(i don't try to find how long it could be) on quick lauch, and the quick lauch item don't work at all(the exe file don't start).

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: Quick Lauch Item command path problem
« Reply #1 on: December 11, 2012, 08:58:06 »
I not sure I understand.

When you drop a file on a QuickLaunch button. It will launch the file using the path specified as "Program Path" for that QuickLaunch button,
and the dropped button will be place as last parameter for that button.

MC does not limit the running of files from a long path. But starting program from extra long paths are not recommended. It would require that the program that is being started fully support long paths it self. And A lot of Windows own API does not support long path. so if they are used by the program there will be problems. And also Im not sure if windows even will run files from long path.
However windows does require that the extra long paths starts with \\?\
eg
Code: [Select]
"\\?\C:\Looooooong.....path\Long....Path\runme.exe"

Crash+Burn

  • Junior Member
  • **
  • Posts: 33
    • View Profile
Re: Quick Lauch Item command path problem
« Reply #2 on: December 11, 2012, 09:18:27 »
I think gzycy is saying when there is a command on the QuickLaunch tool bar such as:
D:\Tools\JAVA\JAVADC\jd-gui-0.2.10.windows\jd-gui.exe

Then it doesn't work properly.

But when the path and button are changed to:
D:\Tools\JAVA\JAVADC\jdui\jd-gui.exe

Then everything works fine.

Which could possibly be something Multi Commander is doing with a folder-path that has dots/periods in it.

Possibly? That's what it sounds like to me anyways.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: Quick Lauch Item command path problem
« Reply #3 on: December 11, 2012, 09:46:04 »
I do not think so. I get it to work with both space and dots in the path

gzycy

  • Junior Member
  • **
  • Posts: 24
    • View Profile
Re: Quick Lauch Item command path problem
« Reply #4 on: December 12, 2012, 03:23:12 »
yes ,the first one don't take file as command line parameter.
I think gzycy is saying when there is a command on the QuickLaunch tool bar such as:
D:\Tools\JAVA\JAVADC\jd-gui-0.2.10.windows\jd-gui.exe

Then it doesn't work properly.

But when the path and button are changed to:
D:\Tools\JAVA\JAVADC\jdui\jd-gui.exe

Then everything works fine.

Which could possibly be something Multi Commander is doing with a folder-path that has dots/periods in it.

Possibly? That's what it sounds like to me anyways.