Windows 8 and 8.1 Forums

a change to "open with"

  1. #1

    Posts : 4
    Windows 8.1

    a change to "open with"

    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?

      My System SpecsSystem Spec

  2. #2

    Posts : 1,720
    Windows 8.1 Pro

    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:

    Click image for larger version

    OR, you can try this handy third party software to accomplish the same:
    Last edited by Edwin; 17 Sep 2014 at 23:41.
      My System SpecsSystem Spec

  3. #3

    Queens, NYC, NY, USA
    Posts : 11
    Dual-Boot Windows 8 (upgrading to 8.1 soon) & Kali Linux (formerly Backtrack)

    Quote Originally Posted by JudMc View Post
    When I want to open a JPEG, 55-60% of the time I want to open it with IrFanView.
    Quote Originally Posted by Edwin View Post
    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.


    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!


    Last edited by wdwcomputer; 24 Nov 2014 at 02:54.
      My System SpecsSystem Spec

a change to "open with"

Similar Threads
Thread Forum
How to set Default "File Open Dialog" to Last Location
I use a program called Mudlet (version 2.1) in order to play a MUD. That program has some interactions with the Windows file API, the details of which I do not know. What I do know is that the authors of the program have stated explicitly that Mudlet does NOT save the last file location it was at....
General Support
Open with "Choose default program" Error - Fix
Fix Open with "Choose default program" No Program Associated Error in Windows 8 and 8.1 This tutorial will show you how to fix the "This file does not have a program associated with it" error when you right click on a file and click on Open with and Choose default program in Windows 8, Windows...
"Loading files ..." -> "Windows Boot Manager" -> "OneKey"
Hi all, So I'm kind of stuck.. I currently have the problem where I am in an endless cycle of "loading files" -> "Windows Boot Manager" (see: How To Boot Into Safe Mode On Windows 8 (The Easy Way)). I have tried to load all of the options -- and none successfully load. I also end up at...
General Support
How to move to main menu an item from "Open With..."?
Hi, I'm trying to move an item from the menu "Open with" to the main menu. 49432 I wanna open multimedia files by default with VLC player, but I use a lot the player MPC-HC x64 for HD videos. So, I wanna have that item in the main menu, as the arrow shows. I wanna have THAT EXACT item,...
General Support
How to pin an "open folders" icon to Win8's taskbar?
I'm setting up a new Windows 8 PC. In my Win7 PC, I have an icon on the taskbar that holds all open folders. I'll call it the "Open Folders" icon. I don't remember how that icon got on Win7's taskbar. How can I create a similar icon on Win8's taskbar. EXPLANATION: In Win7, say I open the C:...
General Support
Program disappears when selecting "Open" to open
I have a very frustrating issue with Windows 8 where my software disappears when I select to open an existing file from within the parent program. It is not minimized and it is not 'off' the screen. I open task manager, and it doesn't exist as a process in any state. The program is Xilinx's ISE...
General Support
Can't open any picture files "Not Implemented" error
Fresh out of box windows8 Sony Vaio Laptop showing error message when I try to open any picture files either web contents or local picture, saying "Not Implemented" error message. And no right click option available. Can some one please help me. Thank you in advance
General Support

Eight Forums Android App Eight Forums IOS App Follow us on Facebook