Delete CR/LF from text file.

View: New views
3 Messages — Rating Filter:   Alert me  

Delete CR/LF from text file.

by kirti_bhardwaj2003 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Experts,

I want to delete Carriage Return /Line Feed in a text file. For this i
want to write a DOS batch file. I'm not able to find any clue on
this . If you experts had faced this problem earlier then please help
me in writing the batch file or else if you had already then please
share it. I required it urgently.

Regards
- Kirti


Re: Delete CR/LF from text file.

by foxidrive-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 19 Jan 2008 09:39:07 -0000, "kirti_bhardwaj2003"
<kirti_bhardwaj2003@...> wrote:

>I want to delete Carriage Return /Line Feed in a text file. For this i
>want to write a DOS batch file. I'm not able to find any clue on
>this . If you experts had faced this problem earlier then please help
>me in writing the batch file or else if you had already then please
>share it. I required it urgently.

What kind of text file?  Which CRLF?  The one at the end of the file? Is the
file more than one line long?



RE: Delete CR/LF from text file.

by Morris, Lamar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://www.google.com/search?hl=en&q=dos2unix

 

http://www.google.com/search?hl=en&q=unix2dos

 

These aren't batch files but have worked for me many times, one adds
Carriage Returns and the other remove them.

 

Lamar

 

________________________________

From: batchworld@... [mailto:batchworld@...] On
Behalf Of kirti_bhardwaj2003
Sent: Saturday, January 19, 2008 3:39 AM
To: batchworld@...
Subject: [BATCH WORLD] Delete CR/LF from text file.

 

Hi Experts,

I want to delete Carriage Return /Line Feed in a text file. For this i
want to write a DOS batch file. I'm not able to find any clue on
this . If you experts had faced this problem earlier then please help
me in writing the batch file or else if you had already then please
share it. I required it urgently.

Regards
- Kirti

 



[Non-text portions of this message have been removed]

LightInTheBox - Buy quality products at wholesale price