From what directory should "drush cc all" command be run?
It's irrelevant. The command:

drush cc all 


clears all caches. The directory has no affect on what is cleared. If you want to target modules use:

drush cc module-list


Or if you want to target another cache use:

drush cc


which will prompt you for a cache to target.