How To Register Custom URL Protocol

Por Tanongsak
Feb 9, 2021

--

  1. open Registry Editor

open start menu -> พิมพ์ regedit Enter

2. คลิกขวาที่ HKEY_CLASSES_ROOT ->new -> key -> ‘พิมพ์ชื่อ custom url’ เช่น exerun

3. คลิกขวาที่ exerun -> new -> string value -> ใส่ name เป็น URL protocol

4. คลิกขวา exerun -> new -> key เพื่อสร้าง path ‘shell -> open -> command’ ตามรูป

5. เลือกที่ command -> คลิกขวาที่ (Default) -> Modify ->ใส่ path ของโปรแกรม exe ในช่อง value

6. ทดสอบที่ Browser โดยพิมพ์ URL exerun: แล้ว enter

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response