General discussion
December 2, 2003 at 08:20 PM
kn_abhilash

Batch file – codes

by kn_abhilash . Updated 22 years, 11 months ago

Hi

I have a notepad file( say test1.txt ) which contains data like

—————————————
03/11/04 08:58:41 , , ,KEANO REAVES, RAJIV,3111093

03/11/04 08:58:42 , , ,MORPHINUS TO NEO, MALVIKA, 6721378

03/11/04 08:58:43 , , ,MOFIUS TO NEO, RAJAN, 3409072

03/11/04 08:58:44 , , ,OPTION-C, MANJUNATH TUNGA, 3419607

03/11/04 08:58:45 , , ,C SMITH TO KANUREAVES, SRINATH, 3379771

03/11/04 08:58:46 , , ,MORSEUS TO NEO, BHARATH, 56733724

03/11/04 08:58:52 , , ,OPTION-C, KARTHIK, 5724538
—————————–

in this at the end of each line (set of numbers )are phone numbers

what i want is, on execution of a BATCH file, it should copy only the phone numbers to another notepad file ( say test2.txt )

can any one pls tell me the code for the BAtch file for this purpose

Thanks in advance

This discussion is locked

All Comments