GKatReliable
Programmer
I have to change some of our company's scripts to bring in a login password from an external text file, because the host system does a periodic password change and the user community does not have write access to the folder where our production scripts are kept.
After much RTFM'ing and using an example from the Aspect script help, I see that one of the best ways to handle a password is to do a macro with #DEFINE passwordvar "Rosebud^M" and then TRANSMIT passwordvar.
Well, I have a problem with the ^M.
The command to read the text file strips CR/LF's, and I am not sure how to contatenate the ^M with the variable in which I am storing the password after reading it in.
Should there perhaps be a second TRANSMIT command with just the ^M?
Regards,
Glenn Koproske
After much RTFM'ing and using an example from the Aspect script help, I see that one of the best ways to handle a password is to do a macro with #DEFINE passwordvar "Rosebud^M" and then TRANSMIT passwordvar.
Well, I have a problem with the ^M.
The command to read the text file strips CR/LF's, and I am not sure how to contatenate the ^M with the variable in which I am storing the password after reading it in.
Should there perhaps be a second TRANSMIT command with just the ^M?
Regards,
Glenn Koproske