My editor (Notepad or WordPad, probably) keeps appending .txt to my filenames…so when I tell it to save as program1.java, it saves as program1.java.txt. How do I fix that?
The best way to avoid this (assuming you don’t already have a program.java.txt file you need to rename) is to do this: When you go to File/Save As in WordPad, if you type “program.java” (with quotes), it will not append the .txt extension. If you get the file saved with .txt at the end, you can fix it with DOS’s file renaming command…it’s called ren. So, if you wanted to rename program1.java.txt to program1.java, you could type “ren program1.java.txt program1.java” (no quotes) at the DOS prompt.