I'm trying to create a command file that does some re-trying when FTPing
a file to a host that sometimes has problems. I have pulled out a
subset of the command that I am having a problem with. It seems that I
should be able to get the redireciton in LINE2, but I cannot get it to
show. Is there a way of doing this?
#2\SYS\PUB:setvar retry 3
#2\SYS\PUB:echo exit > tmp1
#2\SYS\PUB:setvar line1 "while count < !retry"
#2\SYS\PUB:setvar line2 "run ftp.arpa.sys < tmp1"
#2\SYS\PUB:echo !line1
while count < 3
#2\SYS\PUB:echo !line2
run ftp.arpa.sys
#2\SYS\PUB:
Kevin
ps notice how the '<' shows in line1, but not in line2. I have even
done the following and had it work:
setvar line1 "while count < 3"