Skip to content

Instantly share code, notes, and snippets.

@StephenHodgson
Last active January 5, 2023 23:45
Show Gist options
  • Save StephenHodgson/e67317b49cb7931c6748c1054bbce58d to your computer and use it in GitHub Desktop.
Save StephenHodgson/e67317b49cb7931c6748c1054bbce58d to your computer and use it in GitHub Desktop.
Set Visual Studio Code as the default program for opening files without an extension in Windows
// https://superuser.com/questions/13653/how-to-set-the-default-program-for-opening-files-without-an-extension-in-windows
assoc .="No Extension"
ftype "No Extension"="C:\Program Files\Microsoft VS Code\Code.exe" "%1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment