Sorry, didn't realise it was Windows 7.
Have to admit, I'm no Windows 7 expert. Could you write this in a text document, save it as "import.reg" and double click it to add it to the registry? It works in XP.
Just replace "YOUREXTENSION" with the extension you're trying to add?
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.YOUREXTENSION]
"PerceivedType"="image"
@="jpegfile"
"Content Type"="image/jpeg"
[HKEY_CLASSES_ROOT\.YOUREXTENSION\OpenWithProgids]
"jpegfile"=hex(0):
[HKEY_CLASSES_ROOT\.YOUREXTENSION\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
Sorry for being dumb, I'm on win7 I don't have a File types in explorer. – Martin Beckett – 2010-08-11T17:15:56.503
I suggested a different way below. I've tested it in XP, but I don't have a copy of Windows 7, I'm afraid. – Simon – 2010-08-30T15:00:06.160