There’s really no need to go through any long time-consuming method in converting a TXT file to a CFG file. Simply rename the file name extension (.txt) by the location folder of the TXT file.
Click on the file to view and in the options for “filename extensions”, check the CFG extension and enter. The file will maintain its original name but with a different file extension (.CFG).