Run Command doesn't always use App Paths

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

dft1
Member
Member
Posts: 41
Joined: 2002 Jul 30, 14:13
Location: Atlanta GA US

Run Command doesn't always use App Paths

Post by dft1 »

I set up the path to the ExamDiff program in the registry:

Code: Select all

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ExamDiff.exe]
@="C:\\Program Files\\util\\ed16i\\ExamDiff.exe"
Case 1. Type in the address bar:

Code: Select all

>examdiff
causes examdiff to run.

Case 2. Type in the address bar:

Code: Select all

>examdiff file1 file2
causes the "this command is ineffable" error.

Case 3. Start > Run

Code: Select all

examdiff file1 file2
causes examdiff to run.

Filemon output shows that in case 1 and 3, the App Paths is used to locate examdiff.exe. In case 2, X2 tries to open examdiff in folders in the path environment setting but not in the App Paths folder.

Anyone else seeing this?
User avatar
nikos
Site Admin
Site Admin
Posts: 16402
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

x2 doesn't read this particular key
to save you a complex explanation, the easiest solution is to add your examdiff path to your PATH environmental variable.  Then it will work
dft1
Member
Member
Posts: 41
Joined: 2002 Jul 30, 14:13
Location: Atlanta GA US

Post by dft1 »

Thanks Nikos. That works of course.