I have to write a script for deleting files in folder based on this configuration .
<item>
<where>
c:\kapil\Test
</where>
<days to keep>
180
</days to keep>
</item>
<item>
<where>
c:\kapil\Test1
</where>
<days to keep>
180
</days to keep>
</item>
I have to configure this in a script not out side of script like xml file etc .
Could you please share best approach because this script use in production