Search found 6 matches

by BatchIt
10 Oct 2007 10:22
Forum: DOS Batch Forum
Topic: MS-DOS: search & extract data from a file
Replies: 8
Views: 18840

Hi Jeb,

I got the counter variable to increment.

Thx again for helping out.
by BatchIt
10 Oct 2007 04:07
Forum: DOS Batch Forum
Topic: MS-DOS: search & extract data from a file
Replies: 8
Views: 18840

Thx Jeb,

For the variable counter=1,
How do I increment it in a loop?

Also where would I find examples of using arithmetic and boolean expressions?

Do have a terrific day also!
by BatchIt
09 Oct 2007 00:25
Forum: DOS Batch Forum
Topic: MS-DOS: search & extract data from a file
Replies: 8
Views: 18840

Thx Jeb. I made several attempts to achieve my goal. My latest version is below. I am not able to increment my counter variable so I can use it to exist my for loop. I am sure there is an easier way than what I have so far. How can I make this better/simpler? @echo off SETLOCAL ENABLEEXTENSIONS SETL...
by BatchIt
08 Oct 2007 13:23
Forum: DOS Batch Forum
Topic: MS-DOS: search & extract data from a file
Replies: 8
Views: 18840

Hey Jeb, I had a chance to run the batch and review the output files. Its a gives me a good jump start. If I wanted the batch to do something a little different such as: search and create these subfiles: subfile 1: 8/20/07 DAY: 1 logging information range: 12 - 15 Temperature: 89 Temperature: 87 Tem...
by BatchIt
08 Oct 2007 11:41
Forum: DOS Batch Forum
Topic: MS-DOS: search & extract data from a file
Replies: 8
Views: 18840

Thx Jeb,

I am trying to understand this part of the script:
set filename=!filename:/=-!

What do the following do?
!
:
/
=-
by BatchIt
03 Oct 2007 15:08
Forum: DOS Batch Forum
Topic: MS-DOS: search & extract data from a file
Replies: 8
Views: 18840

MS-DOS: search & extract data from a file

Hello, I have a file that I want to search and extract portions of the data and send to new files, one for each portion. A section of the original file I want to search and extract data from is below. So how do I effectively use findstr to accomplish this? How would I search for and extract data fro...