# unix2dos > Change unix-style line endings to dos-style. > Replaces CR with CRLF. - Change line endings of a file: `unix2dos {{filename}}` - Create a copy with dos-style line endings: `unix2dos -n {{filename}} {{new_filename}}`