open a file with its default programme

前端 未结 6 1706
旧时难觅i
旧时难觅i 2021-01-23 10:40

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

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-23 11:31

    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.

提交回复
热议问题