in reply to Problem using system to call securecrt

Did you check if chdir succeeded?
chdir $crtdir or die("Can't change to SecureCRT's dir: $!\n");
Some versions of Windows didn't like a trailling backslah in directory names. You should try removing it.