In the computer, .txt files are opened by Notepad by default, .mp3 files are opened by music software by default, and .exe files are executable applications by default.
In the DOS command, we can use the assoc command to modify its association, such as
assoc .txt=exefile 将所有后缀为.txt的文件当成可执行文件
Similarly, we can
assoc .txt=txtfile 将所有后缀为.txt的文件当成记事本
At this time, the icon of qingshu.txt has changed back to the notepad style, double-click it to open it normally.