Using Different Programs To Open The Same File
Posted on 2001-08-11
Okay guys, bear with me.
I'm an avid gamer, and I play a game called Unreal Tournament.
I also create levels for this game.
A level/map file in Unreal Tournament has a .unr extension.
What I'm looking to do here is modify the menu you get when you right click on a file in Windows. You know, you get Open, Print, Send To >, Cut, Copy, etc.
When you install WinZip or WinRAR it adds things to this menu, like "Add to file.zip" or "Add to archive..."
When you right click on a .unr file, it replaces the word "Open" with "Play this Unreal level." And it opens the file using unrealtournament.exe.
I'd like to add another Open option below "Play this Unreal level" that says "Edit using UnrealED" which will open the file using UnrealED.exe.
The phrase "Play this Unreal level" only appears when you right click a .unr file in Explorer. I'd like "Edit using UnrealED" to appear in the same fashion - only when a .unr file is clicked, and below the "Play this level" item.
I'm guessing this is a registry entry thing.
Can someone tell me how to do this programmatically?