in reply to Re: Using system to run exe on Windows and pass it variables
in thread Using system to run exe on Windows and pass it variables

Putting this into an array slice seems to have worked! Here is my new code I'm using to call out specific variables:
use warnings; use strict; system qw{D:\\SiteScope\\tools\\plink.exe -ssh user@myserver -pw Passw +ord . ./scripts/myscript.sh}, @ARGV[1,6,7];