Associate Sublime text with files without extension Use elevated cmd!! assoc .="No Extension" ftype "No Extension"="C:\Program Files\Sublime Text 3\subl.exe" "%1"