I always used 'deltree' command in DOS, to delete a tree and all its contents, sub-folders... But I tried on my computer today it said:
'deltree' is not recognized as an internal or external command,operable program or batch file.
I was using Win2000. Then I check for 'rd' command. But rd just deleted the folder only if the directory is empty.
So you have to use "rmdir /S " command to delete the folder and all its contents in Win2000. Same behaviour as "deltree" in other OS's
rmdir /S /Q