show initial directory by detecting platform