Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Extract data form txt file in bat
Name: CBRAMASCO Date: September 4, 2007 at 20:18:42 Pacific OS: XP CPU/Ram: PENTIUM 4 Product: IBM
Comment:
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. MACHINING CYCLE TIME = 33.44min 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
Name: Mechanix2Go Date: September 4, 2007 at 22:03:06 Pacific
Reply:
@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.
M2
0
Response Number 2
Name: Muthukumar R C Date: October 4, 2007 at 10:01:19 Pacific
Reply:
Hi, 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
0
Response Number 3
Name: jerima Date: January 15, 2008 at 12:01:38 Pacific
Summary: Let's see if you can help me. is it possible to read TXT file in Dos mode? I have a readme.txt file on my bootdisk, what to do to view that file when i boot my system using boot cd? Ok, when i type "...
Summary: I have a few things going on here, first I have a program that only runs in dos. I have only dos6.22 installed on this machine. the program has print a feature and i can not exit the program to print ...
Summary: You can probably enter delete config.sys to delete it. I am not sure because DEL config.sys will delete your config.sys file. However, you need to enter DELTREE Windows to remove your entire wi...