pub fn basename(cmd: &str) -> &str
A command’s name with its directory and any .exe suffix removed.
.exe