in reply to File path

notepad.exe will always be at $ENV{WINDIR}\notepad.exe. Otherwise, I'm not aware of a module that searches $ENV{PATH} for an executable, but File::Spec together with the -x operator will do.