my %hash=(1=>"one"); my $str='C:/Program Files/Perl Express/sample.txt'; $str=~s/ /\\ /g; @ARGV = ($str,%hash); system("./script.pl @ARGV");