    * location: the folder to scan. Example: c:\devs\applicationServer\CrAppServer\bin\debug 

    * pattern: the pattern to get affected files. Example: *.log 

    * condition: one of the following: Age, Space, Size 

    * value: depends on condition. When Age: numeric followed by (h = hours, d = days or m = minutes). Default unit is second. When Space or Size: numeric followed by (k, m or g). Default unit is byte 

    * action: one of the following: Move, Delete 

    * target: specify the target folder when action is set to "Move" 

    * sample: 

<?xml version="1.0" encoding="utf-8" ?> <monitor priority="BelowNormal" timer="3000" blockSize="8192" blockWait="5" fileWait="20">

 <folder location="c:\tmp" pattern="*.*" condition="space" value="3g" action="move" target="\\172.27.172.22\development\temp\tmp" />

</monitor> 


Install the service with installutil :

cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

InstallUtil.exe  c:\Nixxis\Tools\MoveFiles\MoveFiles.exe