|Did I need to modify any variables in that script? Obviously I can change 37 to a different number if I need to keep a different line, but was there anything else? Running the .bat just caused the command prompt to flash open for a second, and then produced an empty file called newfile (no extension) with nothing in it. But, I'm relatively new to this, so the simplest answer is that I probably did something wrong inadvertantly.|
Just in case, I'm including one of the files to see if there's anything in there - special character, etc - that would cause issues. Thanks for your reply though... a simpler answer is always preferable! In the example, firstname.lastname@example.org is the line we're pulling.
X-MDAV-Processed: mail.dmx-direct.com, Wed, 13 Apr 2011 14:47:36 -0600
Received: from web1.dmx-direct.com ([126.96.36.199])
by mail.dmx-direct.com (mail.dmx-direct.com)
(MDaemon PRO v11.0.3)
with ESMTP id md50000070015.msg
for <email@example.com>; Wed, 13 Apr 2011 14:47:27 -0600
x-ip-mail=pass smtp.mail= (ip=188.8.131.52)
X-Spam-Processed: mail.dmx-direct.com, Wed, 13 Apr 2011 14:47:27 -0600
(not processed: spam filter heuristic analysis disabled)
X-MDMailLookup-Result: pass smtp.mail= (ip=184.108.40.206) (mail.dmx-direct.com)
Date: Wed, 13 Apr 2011 14:40:55 -0600
Content-Type: multipart/report; report-type=delivery-status;
X-DSNContext: 7ce717b1 - 1196 - 00000002 - 00000000
Subject: Delivery Status Notification (Failure)
This is a MIME-formatted message.
Portions of this message may be unreadable without a MIME-capable mail program.
Content-Type: text/plain; charset=unicode-1-1-utf-7
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
Arrival-Date: Wed, 13 Apr 2011 14:40:55 -0600