[Solved] Associating file types with program and saving files with extensions other than .java
For the first, it depends on the operating system, which you have not specified. If it’s on Windows, there is a pair of Windows commands: assoc and ftype. Each type of file is given a “type name.” assoc associates an extension with a type, and ftype associates a type with a command to execute. For … Read more