Associating same extension to multiple programs

yasdfer

New Member
Hello,

How do you associate files with the same extension to be opened by multiple programs in Vista? For example, I want .jpg files to be viewed using one program and edited in another. This was straightforward in XP but the option seems to have disappeared in Vista. Any clues?

Thanks.
 

My Computer

I'm not sure what you mean by "two different" programs as you can only associate one "default" program to open a file. At any rate to assign a default program to open a particular file -

1- Right Click the file,
2- choose "Open With" in the drop down menu
3- Click "Choose Default Program"
4- Select "Select a program from a list of installed programs"
5- click "OK"
6- When the "Open With" box opens,
7- choose the program you want to associate the file with,
8- then make sure the "Alway use the selected program to open this kind of file" check box is checked.
9- Click "OK" and that's it. Program associated.

There you have it.
 

My Computer

System One

  • Manufacturer/Model
    Custom Built
    CPU
    Intel Core 2 Quad Q6600 2.4GHz
    Motherboard
    Intel D975XBX2
    Memory
    Corsair TWIN2X4096-PC8500 (2x2GHz)
    Graphics Card(s)
    ATI Radeon HD 4890 (1GHz)
    Sound Card
    X-Fi Titanium - Fatality Pro Series
    Monitor(s) Displays
    hp w2207h (22" widescreen)
    Screen Resolution
    1680 x 1050
    Hard Drives
    One 750GB, 2x500GB Western Digital Caviar Black Hard Drives (32meg)
    PSU
    Antec Neo HE 550
    Case
    Antec P182
    Cooling
    Zalman CNPS9500 AT
    Keyboard
    Logitech Wireless Wave
    Mouse
    Logitech MX Revolution
    Internet Speed
    "High" Speed DSL? Is that like low speed FIOS?
    Other Info
    Q6600 B3 Revision OC to 3.0GHz
In Vista, you can associate multiple programs that can be called from the "Open With" item from the context menu.

Since you want to set one program to *view* JPGs and another set to *edit* I'd install the editing program first and let it become the default editor. Then you can install the viewer and let it become the default viewer. Finally, you can simply use Open With to pick the editor, as I assume you'll be viewing more than editing....
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64 Insider Preview (Skip Ahead) latest build
    Manufacturer/Model
    The Beast Model V (homebrew)
    CPU
    Intel Core i7 965 EE @ 3.6 GHz
    Motherboard
    eVGA X58 Classified 3 (141-GT-E770-A1)
    Memory
    3 * Mushkin 998981 Redline Enhanced triple channel DDR3 4 GB CL7 DDR3 1600 MHz (PC3-12800)
    Graphics Card(s)
    eVGA GeForce GTX 970 SSC ACX 2.0 (04G-P4-3979-KB)
    Sound Card
    Realtek HD Audio (onboard)
    Monitor(s) Displays
    2 * Lenovo LT2323pwA Widescreeen
    Screen Resolution
    2 * 1920 x 1080
    Hard Drives
    SanDisk Ultra SDSSDHII-960G-G25 960 GB SATA III SSD (System)
    Crucial MX100 CT256MX100SSD1 256GB SATA III SSD (User Tree)
    2 * Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM SATA II Mech. HD
    Seagate ST1500DL001-9VT15L Barracuda 7200.12 1.5 TB S
    PSU
    Thermaltake Black Widow TX TR2 850W 80+ Bronze Semi-Mod ATX
    Case
    ThermalTake Level 10 GT (Black)
    Cooling
    Corsair H100 (CPU, dual 140 mm fans on radiator) + Air (2 *
    Keyboard
    Logitech G15 (gen 2)
    Mouse
    Logitech MX Master (shared)
    Internet Speed
    AT&T Lightspeed Gigabit duplex
  • Operating System
    Sabayon Linux (current, weekly updates, 5.1.x kernel)
    Manufacturer/Model
    Lenovo ThinkPad E545
    CPU
    AMD A6-5350M APU
    Motherboard
    Lenovo
    Memory
    8 GB
    Graphics card(s)
    Radeon HD (Embedded)
    Sound Card
    Conextant 20671 SmartAudio HD
    Monitor(s) Displays
    Lenovo 15" Matte
    Screen Resolution
    1680 * 1050
    Hard Drives
    INTEL Cherryvill 520 Series SSDSC2CW180A 180 GB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Logitech MX Master (shared) | Synaptics TouchPad
    Keyboard
    Lenovo
    Internet Speed
    AT&T LightSpeed Gigabit Duplex
Thanks for the answers! This gets me close to what I what.

A few more clarifications.

1. Is there a way to change the "open" string in the right click menu to reflect which program is the default. For example, instead of "open" I want it to display "open with x". More generally, I would like to add entry in the context menu for other operations such as printing. This was possible in XP.
2. How do you change which program opens under the edit menu? For example, I could add my photo editor to the "edit" menu entry and a viewer to "open".
3. How do I pass command line arguments to the open command. For example, while opening .cpp files in Emacs I can send in various command line arguments specific to Emacs and C++ files. If opening in an IDE the defaults arguments are fine. Again, this was possible in XP.

Regards.
 

My Computer

Not *easily* - it requires modifying the registry - I ran into the same issue when I tried to make a neat little freeware called RegPad to be my default registry key editor (as in .reg files, not as in editing keys directly in the registry).

As I am very familiar with the registry, it only took me about 3 hours to find all the different places I need to change something in order to make it work....

As for 2, I would assume that that would be a simple matter of using the program itself to register itself as the default editor and viewer respectively - manually, again, would require a much deeper delving into the registry.

you can do it via shortcuts, editing the shortcut parameters, or you can simply use the run command, provided that the app you want to use is in the path....
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64 Insider Preview (Skip Ahead) latest build
    Manufacturer/Model
    The Beast Model V (homebrew)
    CPU
    Intel Core i7 965 EE @ 3.6 GHz
    Motherboard
    eVGA X58 Classified 3 (141-GT-E770-A1)
    Memory
    3 * Mushkin 998981 Redline Enhanced triple channel DDR3 4 GB CL7 DDR3 1600 MHz (PC3-12800)
    Graphics Card(s)
    eVGA GeForce GTX 970 SSC ACX 2.0 (04G-P4-3979-KB)
    Sound Card
    Realtek HD Audio (onboard)
    Monitor(s) Displays
    2 * Lenovo LT2323pwA Widescreeen
    Screen Resolution
    2 * 1920 x 1080
    Hard Drives
    SanDisk Ultra SDSSDHII-960G-G25 960 GB SATA III SSD (System)
    Crucial MX100 CT256MX100SSD1 256GB SATA III SSD (User Tree)
    2 * Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM SATA II Mech. HD
    Seagate ST1500DL001-9VT15L Barracuda 7200.12 1.5 TB S
    PSU
    Thermaltake Black Widow TX TR2 850W 80+ Bronze Semi-Mod ATX
    Case
    ThermalTake Level 10 GT (Black)
    Cooling
    Corsair H100 (CPU, dual 140 mm fans on radiator) + Air (2 *
    Keyboard
    Logitech G15 (gen 2)
    Mouse
    Logitech MX Master (shared)
    Internet Speed
    AT&T Lightspeed Gigabit duplex
  • Operating System
    Sabayon Linux (current, weekly updates, 5.1.x kernel)
    Manufacturer/Model
    Lenovo ThinkPad E545
    CPU
    AMD A6-5350M APU
    Motherboard
    Lenovo
    Memory
    8 GB
    Graphics card(s)
    Radeon HD (Embedded)
    Sound Card
    Conextant 20671 SmartAudio HD
    Monitor(s) Displays
    Lenovo 15" Matte
    Screen Resolution
    1680 * 1050
    Hard Drives
    INTEL Cherryvill 520 Series SSDSC2CW180A 180 GB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Logitech MX Master (shared) | Synaptics TouchPad
    Keyboard
    Lenovo
    Internet Speed
    AT&T LightSpeed Gigabit Duplex
Did you end up writing a program to do these tasks? And if so, is that available publicly?

I will look into your solutions for 1 and 2. If I can assign a shortcut to the open with option, that would solve 3 (not very elegant though).

What I don't get is why the File Types tab has disappeared from the Folder Option menu? Seems quite a regressive step. Is there a chance that it would reappear in some future SP?
 

My Computer

No, unfortunately I did not write a program to do it - because the parameters change with every single file type that you run into.

The reason it gets hard is that there are multiple locations in the registry, and at least one of them was using the file type's SSID - to that alone would change with every file type.

That, and the fact that I am not a programmer :p
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64 Insider Preview (Skip Ahead) latest build
    Manufacturer/Model
    The Beast Model V (homebrew)
    CPU
    Intel Core i7 965 EE @ 3.6 GHz
    Motherboard
    eVGA X58 Classified 3 (141-GT-E770-A1)
    Memory
    3 * Mushkin 998981 Redline Enhanced triple channel DDR3 4 GB CL7 DDR3 1600 MHz (PC3-12800)
    Graphics Card(s)
    eVGA GeForce GTX 970 SSC ACX 2.0 (04G-P4-3979-KB)
    Sound Card
    Realtek HD Audio (onboard)
    Monitor(s) Displays
    2 * Lenovo LT2323pwA Widescreeen
    Screen Resolution
    2 * 1920 x 1080
    Hard Drives
    SanDisk Ultra SDSSDHII-960G-G25 960 GB SATA III SSD (System)
    Crucial MX100 CT256MX100SSD1 256GB SATA III SSD (User Tree)
    2 * Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM SATA II Mech. HD
    Seagate ST1500DL001-9VT15L Barracuda 7200.12 1.5 TB S
    PSU
    Thermaltake Black Widow TX TR2 850W 80+ Bronze Semi-Mod ATX
    Case
    ThermalTake Level 10 GT (Black)
    Cooling
    Corsair H100 (CPU, dual 140 mm fans on radiator) + Air (2 *
    Keyboard
    Logitech G15 (gen 2)
    Mouse
    Logitech MX Master (shared)
    Internet Speed
    AT&T Lightspeed Gigabit duplex
  • Operating System
    Sabayon Linux (current, weekly updates, 5.1.x kernel)
    Manufacturer/Model
    Lenovo ThinkPad E545
    CPU
    AMD A6-5350M APU
    Motherboard
    Lenovo
    Memory
    8 GB
    Graphics card(s)
    Radeon HD (Embedded)
    Sound Card
    Conextant 20671 SmartAudio HD
    Monitor(s) Displays
    Lenovo 15" Matte
    Screen Resolution
    1680 * 1050
    Hard Drives
    INTEL Cherryvill 520 Series SSDSC2CW180A 180 GB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Logitech MX Master (shared) | Synaptics TouchPad
    Keyboard
    Lenovo
    Internet Speed
    AT&T LightSpeed Gigabit Duplex
Back
Top