How to copy one directory with all content using nant script?

I need to copy one folder with all the content.

My folder structure is similar to

Main Folder

folder1

 `1.zip` `2.zip` 

Folder2

 `3.zip` `4.zip` 

How to copy the main folder with all this content using nant script.

Please help me. Thanks

+7
source share
1 answer
 <copy todir="newDir"> <fileset basedir="oldDir"> <include name="**/*" /> </fileset> </copy> 
+11
source

All Articles