Make Atom as a default app for (.cpp, .h) files in Windows 10


When opening files in Windows 10 and setting the default app Atom for such extensions (.cpp and .h). Every time when I open the same extensions, a prompt window will appear.


I have tried to set it as a default app by (right-click on .cpp file - > properties -> Change… -> atom -> Apply). But nothing is working. So, is there any solution?

NOTE: I have used atom (1.32.2) and (1.33.0-beta2). Both have the same issue.


This is a known bug in the latest version of Windows 10 that needs to be fixed in a future update