Hi All

I want to create a Batch File when some specific message arrives in my Outlook Box.

The Format of Batch File will be Fixed always, only things which will change is Date (Which it will pick From Email Subject) and Location which it will pick from Message body.

For Example:

Email Subject: Run Batch File on 2502 Next Month (Or Run Batch File Next Month On 2502)

Message Body:

Blah Blah Blah.....
Location: "C:\Temp\OlTest"

Then once this message comes it must create a Batch File as follows:

@Echo Off
@cd C:\Temp
@xcopy C:\Temp\Install_2502_File.zip C:\Temp\OlTest
Exit

Next Time when message comes with Subject: Run Batch File on 1603 Next Month

Message Body: Blah Blah Blah....
Location: "NewLocation"

It must create Batch File as (It would also help if it edit the values in existing batch file)

@Echo Off
@cd C:\Temp
@xcopy C:\Temp\Install_1603_File.zip <NewLocation>
Exit