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.
batch script to parse text file
Name: afall Date: August 5, 2008 at 13:09:20 Pacific OS: 2003 CPU/Ram: xeon 4gb
Comment:
I have problem writing this batch file to read a text file. Been using the for /f command but doesn't seem to be working. This is a sample of the text file.
HLU/ALU Pairs:
HLU Number ALU Number ---------- ---------- 0 3 1 1 Shareable: YES
The HLU and ALU are two different column with number under each.
What I want is to extract the number under the ALU number into a seperate text file. I.e it would be the number 3 and 1. Any help or guiding me in the right direction would be grateful.
thousand way to get it wrong one way to get it right.
Summary: I have this text file that is one long string with no carriage return. What I want to do is a line break or carriage return whenever it finds the text string "~NM1" Here is what I have so far. > ...
Summary: I need some help making a batch file than can parse a text file containing data on each line. At the same time, it needs to discard any "non-English" characters present. I'd like each line parsed to b...
Summary: HI All, I am new to batch scripting and this is my first script pls help me out. I have to right a batch script, which has to pick the latest file in my directory in which file name are as below, file...