In my application I want to open some files with the correct default programmes, like .doc file should be open with WORD and .psd files should be opened with Photoshop if it is
I don't think this is possible in JavaScript without using any activeX or something like that. Js has no access to locally installed applications.