Find cmd by path