Silently entering and leaving directories