I am executing a shell script as follows:
ksh /Fld1/Fld2/MyScript.ksh /Fld1/Fld2/ WinBox UID PWD!123 /FTPFld1/FTPFLD2 FileToUpload1.txt FileToUpload2.txt
After I execute, I get the following back displayed by the system:
ksh /Fld1/Fld2/MyScript.ksh /Fld1/Fld2/ WinBox UID PWDvi MyScript.ksh /FTPFld1/FTPFLD2 FileToUpload1.txt FileToUpload2.txt
As a result, the log in fails and I cannot upload the file. As you can see, the "PWD!987" gets replaced with "PWDvi" and the script name reappears as a parameter. Sometimes a different script name reappears as a parameter. This is very strange behavior. Can anybody shed some light?