split dir from cmd