fixed open directory as external command (on windows).