in reply to File path

You might also look at Win32::FetchCommand and Win32::SearchPath