Batch - Default Browser?

前端 未结 8 1115
北荒
北荒 2021-02-12 16:09

Is there a way for using a batch file to find the default browser on my computer?

8条回答
  •  盖世英雄少女心
    2021-02-12 16:38

    Andy E's answer does not seem to work for me, it opens IE instead of Chrome.
    But, if I use http instead of htmlfile it does. Like this.

    reg QUERY HKEY_CLASSES_ROOT\http\shell\open\command /ve
    

提交回复
热议问题