Michael Ayton wrote on 04/25/21 at 11:19:41:
I can export games to a pgn text file from CB Reader; whereas in CB 8.0, if I block some selected games and go Output-Textfile, the ChessX association is again created.
I was with you right up until this last part, but this doesn't match the other information you gave. I was thinking you have Windows set for the default "Hide file extensions for known types", and ChessX has associated .pgn files with itself. So when you say ChessX file, that would be the same as pgn file. Then you threw this last sentence in, which is totally inconsistent with my mental model.
Usually when you install a new program, there is a checkbox in Setup which says "Register file type", and you
uncheck that box if you have some other preferred program already registered to the file type. So if you installed ChessX after ChessBase and didn't uncheck the box, that explains how ChessX messed up your file association.
Simplest: In ChessBase, click Tools ! Options ! Misc, check the box for Register PGN, click OK.
Other programs may have a similar menu option for capturing the file type.
More complicated: In Windows Explorer, click Tools ! Folder Options ! View, scroll down the list and uncheck the box Hide file extensions for known types, click OK. You can change it back later if it bothers you. Then find a .pgn file. Right-click, choose Open With, click Choose... If you don't see the one you want, in older Windows click Browse and find the .exe wherever it might be, in newer Windows click the shy down-arrow to show all the programs installed. Once your favorite program is selected, check the box Always open with the selected program, click OK.
For myself, I associate .pgn with notepad++ (great text editor on Windows). In notepad++ if you tell it .pgn is a pascal (or ada, etc.) source file then it will even do some nice color syntax highlighting for you. Or if notepad++ is not available (not my PC for example), I use notepad (not great but guaranteed to be available). If I want to open a pgn in a chess program (could be a different program every time), I can open that program first and then use Open from the menu. I don't like MS Word or similar for text files because it/they may insert formatting which I don't want.