Search found 6 matches

by kr1
27 Feb 2011 15:58
Forum: DOS Batch Forum
Topic: Dos script to edit a variable text file
Replies: 9
Views: 8047

Re: Dos script to edit a variable text file

Your a Genius.

Result!!

This will save me so much time every day.

Thanks a million.
:D :D
by kr1
27 Feb 2011 15:07
Forum: DOS Batch Forum
Topic: Dos script to edit a variable text file
Replies: 9
Views: 8047

Re: Dos script to edit a variable text file

aGerman, Thanks once again for your help I believe that there are the same amount of + signs in all of the rows of data, including the line with 8928777KM000104 in it. There are however, a different amount of colons ":" and also = signs. This cannot be equalised. Is there any way that the ...
by kr1
26 Feb 2011 02:33
Forum: DOS Batch Forum
Topic: Dos script to edit a variable text file
Replies: 9
Views: 8047

Re: Dos script to edit a variable text file

aGerman, Once again thanks for your advice. I hope I'm not asking too much. I can now use Textpad to edit the data further into a format that I need. However, this is quite a lengthy process which I need to complete daily. Could this be fully completed using a .bat file? I have re-iterated the origi...
by kr1
25 Feb 2011 18:25
Forum: DOS Batch Forum
Topic: Dos script to edit a variable text file
Replies: 9
Views: 8047

Re: Dos script to edit a variable text file

aGerman,

Thanks again, that one was also spot on.

I tested that it produced the same results in the data as when I manually remove the other lines and the two files were identical when compared.

Your help is greatly appreciated.

Cheers
by kr1
25 Feb 2011 14:59
Forum: DOS Batch Forum
Topic: Dos script to edit a variable text file
Replies: 9
Views: 8047

Re: Dos script to edit a variable text file

aGerman many thanks for your help, this works great. I've been trying various things to do this but without any success. Thanks again. Also if after doing this I want to strip out (delete) all lines starting "LNM" and "END" could this also be done? possibly all in one so that in ...
by kr1
23 Feb 2011 17:42
Forum: DOS Batch Forum
Topic: Dos script to edit a variable text file
Replies: 9
Views: 8047

Dos script to edit a variable text file

Sorry this looks a bit long, but most of it is example data... I've never used a bat file, so please excuse my ignorance if this is easy to people who are more familiar with this. I'm not a programmer, I just have files of text data that I wish to interogate and manipulate. I am try ing to use a fin...