to directly save data you continuously typing in command line use syntax as:copy con [filename.txt]press CTRL and Z when Finish writing
11 сен 2024