teongkia wrote:thanks.but that is copy the whole directory rite?such as c drive rite?i want just to copy a folder with files inside for example c:\abc\folder to c:\abc\folder1.how can i make it?
No. If you implemented the function defined in the first note by "SkyEye", then you would call it as
dircopy('c:\\abc\\folder', 'c:\\abc\\folder2');
I'm not 100% guaranteeing it will work since I've not tried it, but it should probably work since no one has posted anything there saying it doesn't.