1.) ActiveX is proprietary to Microsoft and only works in IE; Firefox, Safari, Chrome, Opera, etc. do not natively support it, and even Microsoft is reducing its use in Internet Explorer.
2.) Files and directories can be moved, may not exist, and are spelled differently based on the user's language, so a hard-coded script like that will fail quite often.
Perhaps you could just tell the user to launch the desired program?