Hello, the Bat! list recipients,

Friday, September 01, 2000, Michael Richter wrote to Oleg Zalyalov about
External processing of TB files?:

MR> How can i reimport the modified message automaticly ? My Batch-File
MR> for removing the egroups-adv works fine, but the only way i see to
MR> bring back the message is manual import.

Found in TB! help file

---8<-----------------------------------------------------------------
/IMPORT command allows batch importing of e-mail messages into a specified folder from 
multiple RFC-822 message files or from UNIX mailbox files. The syntax of /IMPORT 
command is:


/IMPORT[parameter1[;parameter2[;parameter3[...]]]

Possible parameters are (parameter may be identified by two or more names):


USER=value or U=value           - the value is the name of the destination account. If 
no FOLDER parameter is specified, the destination folder will be Inbox of the given 
account.

PASSWORD=value or P=value               - the value is the password which will unlock 
the account if it is needed.

FOLDER=value or F=value         - the value is the destination folder’s pathname. If 
the pathname does not include account name, The Bat! will search all accounts for a 
folder with such name; the first folder found will be used as the destination folder. 
If the specified folder is not found, Inbox folder of the destination account is used.

UNIX or X               - this parameter tells The Bat! that input files are in UNIX 
mailbox format. By default, input files are treated as separate RFC-822 messages.

READ or R               - when this parameter is used, all imported messages will be 
marked as read. By default, all imported messages are marked unread.

FILE=value or IN=value or 
INFILE=value or I=value         - the value is a file mask with a pathname of input 
files. /IMPORT command can have unlimited number of FILE parameters.

DELETE or DEL or W              - if this parameter is specified, all processed files 
will be deleted after successful send of import operation.

Examples of /IMPORT command:

/IMPORTU=”My account 1”;FOLDER=”Friends and relatives\Sam”;IN=C:\InFiles\Sam\*.MSG

/IMPORTF=”\\My account 1\Business\Unsorted”;UNIX;FILE=C:\InFiles\Unsorted\*.mbx;READ

Notes: 

1.      To separate parameters, use semicolon (“;” character). Do not use spaces 
between parameters when use /IMPORT command as a command line parameter because a 
space-separated mask will be treated as the next command line parameter and will not 
be processed.
1.      If a parameter value contains space characters, put it into quotation marks. 
If a value contains quotation marks, you should use upper commas (“ ’ ” character).
---8<-----------------------------------------------------------------


-- 
Best regards,
Oleg Zalyalov.                         mailto:[EMAIL PROTECTED]

  Using The Bat! version 1.45
  under Windows NT 4.0 Build 1381 Service Pack 6

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : archive@jab.org


Reply via email to