Discussion Locked

Open JPEG and GIF files in Win Explorer

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I read the article about adding options to context windows in Explorer and followed the directions. I want GIF and JPEG files to open with MSPAINT under C:\Programs\Accessories. When I go through the process of file association I end up with an error message: "C:\My.BMP was not found" What does this mean and how do I remedy it?

7 replies

by uch

Oops! such errors might occur if the extention is already assigned to another application. However, you might have improperly associate the GIF & JPEG file extentions.
Try harder & carefully...it should work

by thechas

It looks like you set up one of your shortcuts to open the file My.BMP in the root, folder of your "C" drive.
Or, you have a similar error in a file association.

Carfully check the new shortcuts, and file associations for C:My.BMP That section of the shortcut / command line needs to be set to the proper wild card context.

by seagull data services

The problem here is that windows is looking for a file called c:\my.bmp
I would guess that you're trying to open a file in the "My Documents" or "My Pictures" folders.
In order to specify a filename in a folder with a space in the name you have toenclose the filename in double quotation marks. E.g. "c:\my documents\mypicture.jpg" would attempt to open a file called mypicture.jpg in the c:\my documents folder.

If you look at the default open action for a .bmp file you will find that it is something like this:
"C:\PROGRA~1\ACCESS~1\MSPAINT.EXE" "%1"

Note: the %1 represents, in this case, the name of the file to be opened which is whichever .bmp file you double clicked on.
Also the path to MSPAINT.EXE is in MS-DOS format rather than windows long filename format.

by deemoo

You were right on about the "%1". When I added it to the commmand line everything worked fine. Thank you very much.

This discussion is closed to new replies.