Search found 2 matches
- 04 Mar 2015 16:09
- Forum: DOS Batch Forum
- Topic: how to delete records from a text file
- Replies: 4
- Views: 2238
Re: how to delete records from a text file
Actually, it is in the 12 position. For some reason, when I cut and paste the sample records it removed the 3 spaces between the date and the value i am searching on (see new sample below). I also can't use the FINSTR because the first 8 character is a date and it changes everyday. I have provided a...
- 04 Mar 2015 14:42
- Forum: DOS Batch Forum
- Topic: how to delete records from a text file
- Replies: 4
- Views: 2238
how to delete records from a text file
Hoping someone can assist. I am trying to write a DOS batch file which will delete all rows where in the 7th position the values equals '0007'. I found the following code while researching on the internet but it does not quite work. When I run it, nothing gets created. Can someone help me with the c...