|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, email@example.com 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 ([220.127.116.11])
by mail.dmx-direct.com (mail.dmx-direct.com)
(MDaemon PRO v11.0.3)
with ESMTP id md50000070015.msg
for <firstname.lastname@example.org>; Wed, 13 Apr 2011 14:47:27 -0600
x-ip-mail=pass smtp.mail= (ip=18.104.22.168)
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=22.214.171.124) (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