Rohit P wrote:
> Hi,
> I have a directory "Parent" containing 6 "child" directories with files.I
> have a task of deleting only 4 "child" directories with their files.
The second example in the manual does (I think) give you the answer you
need:-

        http://ant.apache.org/manual/CoreTasks/delete.html

So for your child deletions...

<project name="Check Deletion task" basedir="." default="main">

    <target name="main">
        <delete dir="C:\Rootdir\Maindir\Child 1"/>
        <delete dir="C:\Rootdir\Maindir\Child 2"/>
        <delete dir="C:\Rootdir\Maindir\Child5"/>
        <delete dir="C:\Rootdir\Maindir\Child6"/>
    </target>
</project>


Is that what you wanted?

-- 
Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to