Search found 2 matches

by willy.w
03 Aug 2009 19:23
Forum: DOS Batch Forum
Topic: help to capture some words from file
Replies: 2
Views: 4923

Great it works..

Another question, how bout if I need to export the output to another txt file.

Also is there a way for the script to capture the source file without specifying the name like *.txt or *.MAI etc.

Thanks..
by willy.w
03 Aug 2009 04:44
Forum: DOS Batch Forum
Topic: help to capture some words from file
Replies: 2
Views: 4923

help to capture some words from file

Hi, I'm new in batch commands and need some help. Let's say I have a file (test.txt) which contain these lines. Subject: test test To: 6597712345@sgw.abc.com Message-ID: <OF2BFE240E.DD9201BC-ON48257607.0033BBC9-48257607.0033DD71@abc.com> I need to capture some words from the file starting with 'To: ...