Launch favorite program fails, invocation via DOS succeeds

Bugs and issues.
Post Reply
Message
Author
Anti-Distinctlyminty
Posts: 31
Joined: 20.06.2014, 06:49

Launch favorite program fails, invocation via DOS succeeds

#1 Post by Anti-Distinctlyminty » 01.09.2014, 12:03

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?

Timon
Posts: 688
Joined: 13.09.2012, 06:51

Re: Launch favorite program fails, invocation via DOS succee

#2 Post by Timon » 01.09.2014, 15:51

Place

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

and

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

Anti-Distinctlyminty
Posts: 31
Joined: 20.06.2014, 06:49

Re: Launch favorite program fails, invocation via DOS succee

#3 Post by Anti-Distinctlyminty » 04.09.2014, 09:40

That's it! It was the double quotes around the %ActivSel% macro that did it. Thanks Timon.

Post Reply

Who is online

Users browsing this forum: No registered users and 110 guests