convert textfiles from unix2dos [windows]

based on http://waterlan.home.xs4all.nl/dos2unix/dos2unix.html

create a new folder on Desktop called “unix2dos-folder”
download http://waterlan.home.xs4all.nl/dos2unix.html for your operating system and extract it to the folder
copy and paste all the files you want to convert inside the folder
open command terminal (press windows-key and type “cmd”)
to convert a single file paste:
cd .\Desktop\unix2dos-folder\
unix2dos -n -- input.txt output.txt

or to convert all txt files:
cd .\Desktop\unix2dos-folder\
unix2dos -- *.txt

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s