How to Create Text Based Files (other than .txt)

How to Create New/Empty Files has some alternative ways which I'd say are better than using DOS/echo to create the file.