Page 1 of 1

Launch favorite program fails, invocation via DOS succeeds

Posted: 01.09.2014, 12:03
by Anti-Distinctlyminty
Hi,
I'm trying to launch a program (djv_view) using the selected item. It fails every time, stating

Code: Select all

[ERROR] Image I/O - Unrecognized file: [i]file name[/i]
Yet if I invoke the same thing from a DOS prompt, or via Start > Run, everything works fine
Essentially I'm just trying to do

Code: Select all

"C:\Program Files (x86)\djv 0.8.3\bin\djv_view.exe" "%ActivSel%"
I've placed

Code: Select all

"C:\Program Files (x86)\djv 0.8.3\bin\djv_view.exe"
in the Program field, and

Code: Select all

"%ActivSel%"
in the parameter field.
Am I doing something wrong?

Re: Launch favorite program fails, invocation via DOS succee

Posted: 01.09.2014, 15:51
by Timon
Place

in Program field
C:\Program Files (x86)\djv 0.8.3\bin\djv_view.exe

and

in Parameter field
%ActivSel%
(without double quotes).

Re: Launch favorite program fails, invocation via DOS succee

Posted: 04.09.2014, 09:40
by Anti-Distinctlyminty
That's it! It was the double quotes around the %ActivSel% macro that did it. Thanks Timon.