how to write in a text file using cmd code example Example: creating text file in cmd echo. > location with name