# MyPerl script.pl my $thebase = $ARGV[0] || 'bar'; my $my_repo = "/home/monkfan/public_html/FOO/results/" .$thebase. "\.out"; system("/home/monkfan/bin/ameme /home/monkfan/public_html/FOO/input_files/input_file.txt > $my_repo");