image (.jpg, .gif, .png) ftype/assoc from the command line
Posted on 2004-03-24
After a full install of Microsoft Office 2000 (sr1 sp3), jpg's, gif's and png's open with
Microsoft Photo editor, where as before, they opened with Internet Explorer.
(MS Photo Editor is a crap successor to Kodak Imager and dosn't open photos half the time)
I tried to set things as they were before with this command:
ftype jpegfile="C:\Program Files\Internet Explorer\iexplore.exe" -nohome
but it still defaults to Microsoft Photo editor.
The current associatons are like so:
At the console I could:
and they would open with IE, BUT (this is the annoying thing) the
.jpg's, .gif's and png's loose their distinctive icons which distinguish them from each other.
(users can't distinguish .gif's from .jpg's... boo hoo)
I need to do this from the command line so I can script it, so the GUI is out