Computing.Net > Forums > Programming > manipulate/delete text in bat file?

manipulate/delete text in bat file?

Reply to Message Icon

Original Message
Name: elementx440
Date: March 14, 2007 at 15:09:48 Pacific
Subject: manipulate/delete text in bat file?
OS: xp pro
CPU/Ram: 1gb
Model/Manufacturer: non oem
Comment:

Hey I have a .TXT file from windows event logger. There's hundreds of identical lines that all end with a different number.

I need a script that will delete any lines where that integer is <12 so I don't have go through manually one by one myself.

I'm a little rusty in scripting but any hints would help, thanks.


Report Offensive Message For Removal


Response Number 1
Name: Mechanix2Go
Date: March 15, 2007 at 04:48:43 Pacific
Reply: (edit)

Post some sample lines.


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

M2



Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: manipulate/delete text in bat file?

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes Today.
Discuss in The Lounge