Jump to content

Request - repair / adjust file associations post install.

Recommended Posts

Great program! I'm a reseller and have Paint.Net installed on every system that goes out the door.

This may have been asked but I was unable to find a thread with this information - Post install I've discovered a number of files still open with other programs when using the Edit command (such as TIF with Windows Paint) and I'd like to know if it would be possible to incorporate a feature post install that allows you to adjust file associations for the open and edit command. Open is easy but changing Edit is a little more difficult and most people have an image viewing program seperate from their edit program.

If there is already a simple way to do this, please advise.

Thanks in advance!

Link to comment
Share on other sites

yeah, just edit your registry :D simple!

no, really, that's how I'd do it:

open regedit.exe(start>run> type "regedit.exe")

search for the file extension you want to change under HKEY_CLASSES_ROOT (eg, click on HKEY_CLASSES_ROOT to expand it, Ctrl-F to search, type ".tif" and untick "values" and "data", so that only "keys" is ticked).

now you'll see a thing that looks like a folder icon (called a Key) with the file extension, and on the right hand side, a list of what look like files (values)

remember what it says under "Data" (eg, for Tif, it's "TIFImage.Document").

Now search for that string (eg "TIFImage.Document").

You'll see a new 'folder' (key) with several subkeys. One is called 'shell'. (and if not, right click and create a new key called "shell")

Create a new key under 'shell' by right clicking and choosing New>Key.

Call the new key "Edit with paint.NET" (or call it "fishydoos", doesn't matter).

Create a new key under 'Edit with paint.NET' called "command", and then double click the default value on the right, and put the path to PDN there, followed by "%1", eg "C:!Program Files!Paint.NET!paintdotnet.exe %1" (replace ! with BACKslash)

changes should be applied immediately :)

you can now click on the parent key, eg "TIFImage.Document" and click File>Export to save a neat little file that will restore your file associations for TIF images when double clicked.

repeat for other file types as required, but excercise caution when editing the registry. it's a delicate beast.

Link to comment
Share on other sites


Right-click on the picture, "open with", select Paint.NET, and check the buton that says "Always use the selected program to open this type of file".

^^ ah, but that'll only allow you to edit the default open action, not add right-click menu options:
Open is easy but changing Edit is a little more difficult
Link to comment
Share on other sites

Well actually, when I click edit, it opens in pdn. Maybe I changed a setting without knowing it... Nah. I did a full system restoration a week ago.

BTW, you don't have to type "regedit.exe". Just type "regedit".

"The greatest thing about the Internet is that you can write anything you want and give it a false source." ~Ezra Pound

twtr | dA | tmblr | yt | fb

Link to comment
Share on other sites

true true. I like to avoid all doubt though; I once tried guiding someone though opening internet explorer (yuck) and had them type "iexplore" but it turned out they had a folder in their system directory called "iexplore". took a while to realise that...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...