Batch files in Win XP Pro

crazy stumped

Distinguished
Mar 9, 2008
19
0
18,510
Hello,

I am trying to write a batch file that would make a specific program a default over Windows Picture and Fax viewer.

Reading on other forums, I've input the following into Notepad:

ftype jpegfile="C:\Program Files\Nero\Nero 7\Nero PhotoSnap\PhotoSnap.exe" "%1"

When I right-click on any .jpg file after that, under properties, I see that Nero PhotoSnap is now the default program, but when I open the file it opens in Windows Picture and Fax viewer still.

What am I doing wrong? Do I need to add registry changes to complete this process?
 

crazy stumped

Distinguished
Mar 9, 2008
19
0
18,510
If there is a way, then I'm not sure how to do it. I apply program defaults as an administrator for the following file types: .jpe, .jpeg, and .jpg. When I log back in as a user, only the .jpe and .jpeg file associations stick. For some reason, .jpg only wants to open Microsoft Office Picture Manager. The program I want to default to is Microsoft Photo Editor, based on the user's preferences.

As a workaround, since Photo Editor does open when I double-click .jpeg files, does anyone know how I can set .jpg files to always open as .jpeg files, without manually renaming all photos?