Fileset, how to add an EXCLUDE pattern via script

Hello,

i want to add an File EXCLUDE pattern in a filelist via _script_ (VB script).

I didn´t get it to define the ExcludePattern and the ifbFileSetPatternList

Can anyone post a code snippet please.

I want to add a simple exclude pattern like "C:\test\*.tmp" to my fileset, but i need to do it via vb script.

 

Thx for any help

Elvira

 

 

 

[code]dim patternAction.FileSet.ExcludePatterns.Clearset pattern = Action.FileSet.ExcludePatterns.AddPatternpattern.Item = "c:\test*.tmp"[/code]