How to modify text file?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Karmashock
Posts: 2
Joined: 17 Sep 2008 03:51

How to modify text file?

#1 Post by Karmashock » 17 Sep 2008 04:08

I have another program that creates a text file which I automatically email with another program.

The problem is that this program always puts a carriage return at the end of any file it makes.

Basically want I want is some command that will subtract either the last symbol in the text file or remove "".

What I think I'm looking for is a negative append... if such a thing exists.

something like:
Echo somethingthatsubtracts >> text.txt

carlitos.dll
Posts: 11
Joined: 02 Jul 2008 07:42

#2 Post by carlitos.dll » 26 Sep 2008 11:42

The author has been removed this message.
Last edited by carlitos.dll on 30 Sep 2011 22:45, edited 1 time in total.

Karmashock
Posts: 2
Joined: 17 Sep 2008 03:51

#3 Post by Karmashock » 27 Sep 2008 17:34

Thank you.

I'll figure out the rest. :)

Post Reply