in reply to File path
Please see the module File::Which.
use strict; use warnings; use File::Which; my $path = which('notepad.exe'); print $path; output: ------- C:\WINDOWS\system32\notepad.exe
update: It will search only executable files, not all files. :-(
Prasad
In Section
Seekers of Perl Wisdom