chickadee » directory-utils » make-program-filename

(make-program-filename COMMAND) procedure

Returns the platform specific form of an executable command filename.

On Windows the "exe" extension is added unless an extension is already present. Does nothing otherwise.