Outlook 2007 is the first version with programmable rules. In earlier versions, you'd need to use CDO 1.21 and the Rule.dll COM component; see
http://www.outlookcode.com/archive0/d/exstech.htm
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"news.iskon.hr" <(E-Mail Removed)> wrote in message news:e7qo5a$195$(E-Mail Removed)...
> anyone know where to find batch script for importing rules in outlook?
> I want make rule which reads subject and if it contains "This is spam",
> move it to Junk E-mail folder.
> I need this by batch script because I want to deploy that on all macines
> with
> group policy on Active Directory.
>
>