Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need help converting a unix file format with LF to windows with CRLF.
to this
Thanks for any help.
Bob
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.
Hello
Can you try to use the unix2dos command on a tSystem component?
Regards
Shong
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.