Well, I did it because of my need, I remembered your earlier query about Directory Size. So, try to modified this code for getting directoru size!