Saturday, August 8, 2015

Converting Unix Text Files to Windows / DOS

I just hate it when I open a text file in notepad and find out its a Unix file with no \r\n to make it render correctly in the Windows/DOS world.  I found this really simple DOS command to solve the problem:

c:\> type unix-filename.txt | more /P > dos-filename.txt


No comments: