
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Converting File Types: Unix LF to Windows CRLF
I need help converting a unix file format with LF to windows with CRLF.
to this
Thanks for any help.
Bob
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, you can also use tFileInputRaw to read the file content as Object then transform Object to String with tConvertType then replace all \n with \r\n with a tReplace component then you use another tConverType to convert String to Object and you use tFileOutputRaw to rewrite the file.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Can you try to use the unix2dos command on a tSystem component?
Regards
Shong

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, you can also use tFileInputRaw to read the file content as Object then transform Object to String with tConvertType then replace all \n with \r\n with a tReplace component then you use another tConverType to convert String to Object and you use tFileOutputRaw to rewrite the file.
