a change to "open with"

JudMc

New Member
Messages
4
When I want to open a JPEG, 55-60% of the time I want to open it with IrFanView. Just about all of the rest of the time I want to open it with Photoshop. When I click on a JPEG file, it opens in IrFanView. So far, so good.

When I right-click on a JPEG file, the fifth choice is "Open with EditPad", which is a text editor. Of course, I never want to open a JPEG with a text editor.

Farther down there is the "Open with", with the triangle that gives several choices, including Photoshop. But that takes one extra step each time. Is there a way to change the "open with EditPad" to "Open with Photoshop", and leave the clicking on the file to open with IrFanView?
 
You could possibly edit the "Open with EditPad" similar to the following manner, if it exists or you can create a new 'Shell Command'.

Open your Registry Editor and navigate to: Computer\HKEY_CLASSES_ROOT\*\shell
Right click on 'shell' and move to 'New' then click on 'Key' then name it Photoshop
Click on that key then move over to the right pane and double click on '(Default)' and set the value as Open with Photoshop.
Still in the right pane, right click an empty space and select New►String value and name it Icon and press Enter, then double click on Icon and set it's value to the full path of the Photoshop executable path; example: C:\Program Files (x86)\Adobe\Photoshop\Photoshop.exe,0 (you'll have to determine the full path but make sure you include the name of the exe and add the comma and 0 at the end)
Next, go back to the left pane, right click on Photoshop key and create a new key again, (this will be a sub-key), and name it 'command' (without the quotes)
Click on 'command' and move over to the right pane again and double click the (Default) string and change it's value to the path similar to the above one, except this time wrap the path with double quotes, leave a space and add "%1" at the end,
example: "C:\Program Files (x86)\Adobe\Photoshop\Photoshop.exe" "%1"

Example with Paint:

000040.png

OR, you can try this handy third party software to accomplish the same:

http://www.screencast.com/t/nIyBqXLVF
 
Last edited:
When I want to open a JPEG, 55-60% of the time I want to open it with IrFanView.

example: C:\Program Files (x86)\Adobe\Photoshop\Photoshop.exe,0 (you'll have to determine the full path but make sure you include the name of the exe and add the comma and 0 at the end)

Hello Fellow Windows 8ers,

I just wanted to add something to this conversation - customization of WHICH icon from the Application which you are linking to open with. For example, Photoshop has over 100 icons embedded within the Photoshop.exe file.

But what prompted me to sign up and reply is (on topic) sort of an EASTER EGG concerning Irfanview, which the OP mentioned as his primary image viewing application.

HERE IT IS:

When creating the ICON entry, you'll notice the ",0" at the end of the path and filename associated with the application's icon (Ex: C:\Program Files (x86)\Adobe\Photoshop\Photoshop.exe,0).

What that ",0" means, is to use ICON #0 from that executable file. When an executable contains multiple icons, you can choose which icon by using the corresponding number in place of that 0. For instance, to use the 62nd icon from the Photoshop.exe file, you would change the string to: C:\Program Files (x86)\Adobe\Photoshop\Photoshop.exe,61

Notice it has 61, and not 62 - that is because the numbering begins at 0.

** NOTE ** An easy way to find out which icons an executable contains, right-click on your desktop, and create a NEW SHORTCUT. Set the path to "C:\". Name it anything, and click FINISH. Now right click on the new shortcut you just made, click PROPERTIES, then click CHANGE ICON, which can be found on the SHORTCUT TAB. Then browse to an executable by clicking BROWSE, for example, Photoshop.exe.

Finally, the IRFANVIEW EASTER EGG:


  • Follow the steps give by EDWIN above to get to the "Open with Irfanview" shell entry.
  • In the same key as the "Icon" sub-key was created for Photoshop, create an identical entry for Irfanview.
  • When setting the Icon path string, instead of using ",0", use ",5".
    • Ex: C:\Program Files (x86)\IrfanView\i_view32.exe,5
  • Now browse to an image on your computer, right-click on it, and check out the icon next to "Open with Irfanview"!

** NOTE ** Irfanview has 11 embedded icons within the i_view32.exe executable, so you can experiment with icon numbers ",0" through ",10" - and every number between!

Enjoy the EASTER EGG icon provided by IRFANVIEW!


Have a good one all! And now that I've signed up, maybe I'll see some of you around the forums!

Enjoy,

-WW
 
Last edited:
Back
Top