in reply to need help with system command and single quote

Single quotes do not interpolate variables. You need to make the second argument an argumenr with a comma, and to double-quote that string.

system( 'C:\Program Files\Internet Explorer\IEXPLORE.EXE', "http://abc.com/bbs?=x&b=x&mid=$i") or next;
There may still be problems with winders shell trickiness, but there shouldn't be.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: need help with system command and single quote
by VSarkiss (Monsignor) on Feb 22, 2005 at 16:55 UTC