How to Add File Extensions to Languages in Notepad
- 1). Open the document by clicking "File" then "Open."
- 2). Save the file to the Desktop.
- 3). Minimize Notepad, then right-click the file that you just saved.
- 4). Click "Properties."
- 5). Point the mouse cursor to the white box that contains the name of your document. Click within the far right side of the box, to the right of ".txt."
- 6). Click "Backspace" until the "txt" has been deleted. Enter the extension of your particular programming language, then click "OK."