Extract data form txt file in bat

September 4, 2007 at 20:18:42
Specs: XP, PENTIUM 4
Hi, I'm a machinist and I make cnc codes for machines, so far I have about 1000 diferent programs and on each program there is a machining cycle time prompt like this.
all programs are simple .txt files.
How can I extract that data form them and send it to another txt doing a loop batch file


See More: Extract data form txt file in bat

Report •

September 4, 2007 at 22:03:06
@echo off > new.txt
for %%T in (*.txt) do find "MACHINING CYCLE TIME" < %%T >> new.txt

If at first you don't succeed, you're about average.


Report •

October 4, 2007 at 10:01:19
how to get the second line or a particular in a text file using batch file.
Note : same content may in some other lines. so need to take a particular line and particular part i mean.. have to a content from 5th character to end of the line in a particular line.

pls help.
thanks in advance

Report •

January 15, 2008 at 12:01:38
For data extraction, try using the product intelliget available at http://www.mountonetech.com/product... Its simple yet very useful software.

Report •

Related Solutions

Ask Question