Yes, absolutely penpen!!. Was necessary to apply SETLOCALS. Also, it was bad writed, etc. Since the last night i did this post success a lot of things.
Finally you'll see soon here the final code. Thanks by your interest
Search found 2 matches
- 21 Mar 2016 10:35
- Forum: DOS Batch Forum
- Topic: Delete substring selected by position
- Replies: 2
- Views: 2513
- 20 Mar 2016 15:59
- Forum: DOS Batch Forum
- Topic: Delete substring selected by position
- Replies: 2
- Views: 2513
Delete substring selected by position
NOTE: I edit my last post. Finally my problem is just solved ! Explanation: This subrutine (or script) is able to delete any item you search in any line of a file, only you need to know its position in this line. F.i.: File: varlog.txt Line 1: bla bla bla Line 2: bla bla Line 3: Computers 234 units ...