Opening a bitmap file into MSPaint from a hyperlink

Please read my original request below. I would have thought that with
all the extremely clever people out there that someone would have taken
up this little challenge. To clarify, I wish to access the bitmap files
from a hyperlink to a CD e.g. all files are stored on a CD as is the
html page with the hyperlink, rather than accessing it from the
internet.

Original Request:

I wish to create a javascript or other coding (e.g. C+ etc) , that will
allow me to OPEN a .bmp file from a hyperlink in a html page in a
browser (IE and Netscape only required), direct into: Microsoft Paint
(paint.exe for Win 2000/XP) or Microsoft Paintbrush (pbrush.exe for 9x
-ME) depending on the users operating system I need the single mouse
click on the hyperlink to determine which operating system is current
(Windows versions only), which will then identify the appropriate .exe
file (paint.exe or pbrush.exe), which will then open the .bmp file
direct into the application for editing (e.g. colouring in).

At present, such a hyperlink only opens the browser image editor by
default. I wish to bypass this totally. I also wish to bypass any
default associations that Windows may have set for .bmp files i.e. some
other image editing programs.

Can anyone help me by sharing their wisdom and knowledge with me please.

Terry


 -------------------------------
 This email message and any attachment(s) is intended only for the 
 person(s) or entity(entities) to whom it is addressed. The 
 information it contains may be classified as IN CONFIDENCE and may be
 legally privileged. If you are not the intended recipient any use,
 disclosure or copying of the message or attachment(s) is strictly 
 prohibited. If you have received this message in error please 
 notify us immediately and destroy it and any attachment(s).
 Thank you. The Ministry of Social Development accepts no
 responsibility for changes made to this message or to any
 attachment(s) after transmission from the Ministry.
 -------------------------------

Received on Wednesday, 25 June 2003 23:44:36 UTC