From: Victor Reyes Date: 2007-08-28T05:26:55+09:00 Subject: Substitution within system quoted string ------=_Part_26622_11606657.1188246412814 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Team, I would like to enter a value at execution time within the *system* key world environment. However, I am having difficulties entering a value within a quoted string. For example, I can hard code the following and it works fine: system("start putty.exe -X -ssh -pw mypassword myuserid@myhostname") But this requires hard coding the password in the script. I would like to do something like the following: system("start putty.exe -X -ssh -pw " ARGV[0] " myuserid@myhostname") Where: ARGV[0] holds the password entered by the invoker of the script. Is there a way to substitute within a quoted string? Is there a better way to do this? Thank you Victor ------=_Part_26622_11606657.1188246412814--