Thanks for the replying.

When i am trying remove directories, it returns false...

What it mean, that the directories are not empty..

For eg. i am having Folder F0 which contains sub folder F1 and F2 Which further contains some files f1,f2,f3,f4..

using the above code, written in the previous mail, i was able to remove all the files f1,f2,f3,f4 but folders F0, F1 and F2 are still there, is am doing something wrong or is there any other alternative...