Search from the given paths and Change to the first found Directory