Can one assign special programs to special extensions?

If you are experiencing problems with "Everything", post here for assistance.
Biff
Posts: 307
Joined: Mon May 25, 2015 7:09 am

Re: Can one assign special programs to special extensions?

Post by Biff » Fri Mar 13, 2020 11:08 pm

Ah no, sorry again, I totally mixed up the files and anything else.

These are the correct files which should be used:

Image

This the correct / edited (I hope at least) ini:

Code: Select all

;==	Where is Everything.ini
;	EVERYTHINGINI=C:\Program Files\Everything\Everything.ini
	EVERYTHINGINI=J:\Programme\Everything\Everything.ini


;==	File associations.
;	Enclose program names in ""
;	INI="C:\Tools\Notepad++\notepad++.exe"

	
;	If you have multiple extensions using the same program, define them like this:
;	bmp;gif;jpeg;jpg;png;tif;tiff="c:\tools\voidimageviewer.exe"
;
;	If lines are getting too long to inspect easily, split them like this:
;	3g2;3gp;3gp2;3gpp;amr;amv;asf;avi;bdmv;bik="C:\Tools\vlc\vlc.exe"
;	d2v;divx;drc;dsa;dsm;dss;dsv;evo;f4v;flc="C:\Tools\vlc\vlc.exe"
;	( etcetera ..)

;	Some programs are started with parameters, like -open
;	Add those if needed. The filename will be added at the end.
;	Example (not a real one):
;	INI="C:\Program Files\LibreOffice\program\swriter.exe" -open


	ani;bmp;gif;ico;jpe;jpeg;jpg;pcx;png;psd;tga;tif;tiff;wmf;cr2="J:\Programme\XnViewMP\xnviewmp.exe"
	3g2;3gp;3gp2;3gpp;amr;amv;asf;avi;bdmv;bik;d2v;divx;drc;dsa;dsm;dss;dsv;evo;f4v;flc;fli;flic;flv;hdmov;ifo;ivf;m1v;m2p;m2t;m2ts;m2v;m4b;m4p;m4v;mkv;mp2v;mp4;mp4v;mpe;mpeg;mpg;mpls;mpv2;mpv4;mov;mts;ogm;ogv;pss;pva;qt;ram;ratdvd;rm;rmm;rmvb;roq;rpm;smil;smk;swf;tp;tpr;ts;vob;vp6;webm;wm;wmp;wmv="J:\PortableApps\PortableApps\MPC-HCPortable\MPC-HCPortable.exe"
	txt;ini="J:\Programme\Notepad++\notepad++.exe"


;==
Very sorry again for the total confusion.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Can one assign special programs to special extensions?

Post by NotNull » Sat Mar 14, 2020 11:01 am

Biff wrote:
Fri Mar 13, 2020 11:08 pm
Very sorry again for the total confusion.
No worries .. I survived ;)

With these settings it looks like it should work again.
Before rebooting (don't reboot yet! There are more checks to be done..), could you check if double-clicking a .jpg file in Everything opens it in xnviewmp.exe?
(or check any of the other redirected file extensions)

Biff
Posts: 307
Joined: Mon May 25, 2015 7:09 am

Re: Can one assign special programs to special extensions?

Post by Biff » Sat Mar 14, 2020 11:14 am

No worries .. I survived ;)
Thank goodness. Thank you. But causing (unnessecary / senseless) trouble is not good anyway.

Yes, it works like it should. I have closed Everything and executed the cmd and pressed "I", restarted Everything and it works like it always did and should so to say. I haven't restarted the Notebook yet again, because closing / restarting all of the programs / windows is quiet enconveniet. The Notebook generally goes to hibernate usually. But I guess after the next Notebook restart I have to execute the cmd file again.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Can one assign special programs to special extensions?

Post by NotNull » Sat Mar 14, 2020 11:42 am

Biff wrote:
Sat Mar 14, 2020 11:14 am
But I guess after the next Notebook restart I have to execute the cmd file again.
That should not be necessary. The settings in Everything.ini are correct and point to an existing .cmd. The accompanying .ini file is configured correctly too.
If this stops working after a reboot, there is some external factor in play.

What does this (CMD) command output on the screen?

Code: Select all

reg query hklm\software\microsoft\windows\currentversion\run /v "Everything"

Biff
Posts: 307
Joined: Mon May 25, 2015 7:09 am

Re: Can one assign special programs to special extensions?

Post by Biff » Sat Mar 14, 2020 12:10 pm

That sounds good, actually I should have used the correct cmd and ini files....but who knows what I am doing...

This is shown:
Image

Oops, that is the wrong Everything, I suppose, it should be the one here: J:\Programme\Everything. Any idea how this can happen.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Can one assign special programs to special extensions?

Post by NotNull » Sat Mar 14, 2020 1:32 pm

There are many ways how this could happen, but if you don't know ... how could I?

I do know how to fix it though:
  • In Everything, go to Menu:Tools > Options > General
  • Uncheck Start Everything on system startup
  • Click OK
  • Answer the UAC prompt (if asked so)
  • Completely exit Everything
  • Check if the registry entry is gone:
    • enter this command in CMD:

      Code: Select all

      reg query hklm\software\microsoft\windows\currentversion\run /v "Everything"
    • the output should be (the German version of) ERROR: The system was unable to find the specified registry key or value.
      If not: report back
      If true: proceed
  • In File Explorer, go to J:\Programme\Everything
  • Double-click Everything.exe
  • In Everything, go to Menu:Tools > Options > General
  • Check Start Everything on system startup
  • Make sure is is a v and not a little black square (I hope you understand this)
  • Click OK
  • Answer the UAC prompt (if asked so)
  • Extra check:
    The
    /open_file_command2
    command you tried earlier should still show
    open_file_command2=$exec("J:\Programme\Everything\EverythingFileAssociations.cmd" "%1")
    in the status bar.
  • Done.
Now the universe is aligned and synchronized again. After a reboot, your files should be opened in the portable apps you configured in the INI. No need to run the CMD again.
(At least ... that is what I hope for :))

Biff
Posts: 307
Joined: Mon May 25, 2015 7:09 am

Re: Can one assign special programs to special extensions?

Post by Biff » Sat Mar 14, 2020 6:58 pm

There are many ways how this could happen, but if you don't know ... how could I?
Well, I absolutely do not know anything. I guess, it was superfluous to mention it again. But it is an Everything I do not use anymore.
Uncheck Start Everything on system startup
It is check like this until now (I now completely unchecked it):
Image
the output should be (the German version of) ERROR: The system was unable to find the specified registry key or value.
If not: report back
If true: proceed
I rather report. This is shown now:
Image
Answer the UAC prompt (if asked so)
Never been aksed today.
Extra check:
The
/open_file_command2
command you tried earlier should still show
open_file_command2=$exec("J:\Programme\Everything\EverythingFileAssociations.cmd" "%1")
in the status bar.
Sorry, this is shown:
Image

I assume, there still anything is wrong with this universe. The associations do still work (without having used the cmd file).

ovg
Posts: 180
Joined: Thu Oct 27, 2016 7:19 pm

Re: Can one assign special programs to special extensions?

Post by ovg » Sat Mar 14, 2020 7:41 pm

Biff wrote:
Sat Mar 14, 2020 6:58 pm
Extra check:
The
/open_file_command2
command you tried earlier should still show
open_file_command2=$exec("J:\Programme\Everything\EverythingFileAssociations.cmd" "%1")
in the status bar.
This should be done in Everything's search bar

Biff
Posts: 307
Joined: Mon May 25, 2015 7:09 am

Re: Can one assign special programs to special extensions?

Post by Biff » Sat Mar 14, 2020 7:46 pm

Very sorry...but...my brain...

So, appears to look good now, I guess:
Image

Sorry again, and many thanks for saving the universe and my Everything.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Can one assign special programs to special extensions?

Post by NotNull » Sat Mar 14, 2020 9:04 pm

Biff wrote:
Sat Mar 14, 2020 7:46 pm
many thanks for saving the universe and my Everything
You're welcome!

Now I only have to do something about Life and ....
"Answer to the Ultimate Question of Life, the Universe, and Everything" completed! (might take me a while ... ;))

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Can one assign special programs to special extensions?

Post by NotNull » Sun Mar 15, 2020 4:25 pm

@biff:

What file manager is it you are using? (and where do all these buttons in the title bar come from?)

EDIT:
Never mind; it is FreeCommander

Biff
Posts: 307
Joined: Mon May 25, 2015 7:09 am

Re: Can one assign special programs to special extensions?

Post by Biff » Sat Mar 21, 2020 7:23 pm

Sorry for the hesitation, was not at home.

Yes, it is FreeCommander. The buttons are there by default (if I remember it right), there are many buttons which can be added / removed there, the bar / line can be customized.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Can one assign special programs to special extensions?

Post by NotNull » Sun Mar 22, 2020 9:25 am

Thanks!

Post Reply