>You will need to have something in your batch file read from this temp file and extract the information you want.
 
I guess, this is harder than I thought. Can you be a little more specific ? what might be that thing which is going to read that .temp file and extract the information ?
Anybody accomplished such a task before ?
Thanks in advance.
Serhan.
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Madscientist
Sent: Saturday, September 21, 2002 12:26 PM
To: [EMAIL PROTECTED]
Subject: RE: [IMail Forum] Creating Program Alias variable ?

The %1 in your batch file will be the path to a temp file containing the message sent to the program alias. You will need to have something in your batch file read from this temp file and extract the information you want - then pass that information to the rest of your program.
 
Hope this helps,
_M
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Serhan Sevim
Sent: Saturday, September 21, 2002 12:20 PM
To: [EMAIL PROTECTED]
Subject: [IMail Forum] Creating Program Alias variable ?

Hey guys,
I'm trying to set a variable within the program alias but I don't seem to be successful at all.
Here is what I'm trying to do,
I created a program alias named mkdir. and there is a batch file called mkdir.bat and code in the batch file goes like this,
*******
cd c:\
mkdir %1
*******
Now the "%1" part is the variable as you can see, I'd like to be able to call that %1 by sending an email .
(so if I want to create a folder named 20, I should enter 20 .... into the subject or body to be sent to mkdir alias.
I remember that I saw something similar to this, but can't find and it. Any ideas?
Thank you.
Serhan.
 

Reply via email to