in reply to Re^2: space in filepath and in filename for system function
in thread space in filepath and in filename for system function

Well yes. It would. If you put it in a single-quoted string. Variables aren't expanded in single-quoted strings. You need a double-quoted string. Or, actually, you don't need any quotes at all.

system ('adrl.exe', $file) || die ("not correct path");
--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg