To summarize briefly, in attempting to change the default program for .txt files to Visual Studio Code on Windows 10, the author encountered an issue. They found that Visual Studio Code was not listed in the default programs and there was no option to browse and manually select the program’s path:

I have also tried to change the default app in right MB -> open with -> choose another app, but no luck, there was no permanent option.

What is the recommended method for altering the default program then?

Askify Moderator Edited question May 2, 2023