Word description Returns the path of the first executable file found in PATH, or false if none is found. Directories are skipped. Unix searches require execute permission. Windows searches recognize PATHEXT and append its extensions to commands without an extension, preserving directory order before extension order.