If typing code . in your Windows File Explorer address bar opens a Shell file or triggers a Bing search or an annoying conhost window, this guide provides a permanent, silent fix.
We can tell Windows to map the word code directly to the Code.exe GUI. This is silent and takes priority over PATH scripts.
- Open Registry Editor: Press
Win + R, typeregedit, and hit Enter. - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths - Create Key: Right-click App Paths > New > Key. Name it
code.exe.