Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix to Windows format

Status
Not open for further replies.

maximas

Programmer
Nov 29, 2002
40
US
I have a unix file and want to write a batch file that will convert the unix file to a windows file format, so I can open it in windows. Any help will be great.

 
What kind of file is it? If it's a text file, you can open it in Notepad, Wordpad, or just about any Windows text editor. But you will need to be careful if you save it with a Windows text editor for use back on the Unix system.
 
maximas,

I believe the UNIX command unix2dos would handle this for you. Like bi said, if it is just a text file, you don't need to use any utilities to perform the task.

Thanks,

John
 
you can download unix2dos and dos2unix for both DOS and Unix - have a google....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top