I have a dos file called "convert.exe", I would like to execute this from Aspect script and add this to the end of my script. For example, this is how I run the convert.exe from DOS level;
DOS> convert.exe filename
This is my script,and it works. I would like to this script:
#define PhoneNum "9714231234"
#define MicsFile "c:\programs files\symantec\procomm plus\upload\logixa"
#define OutFile "c:\programs files\symantec\procomm plus\download\logix.0728.dat.test"
proc main
dialnumber DATA PhoneNum
while $dialing
endwhile
if !$CARRIER
usermsg "Unable to connect to Southwest Bank server. Please try again later."
exit
endif
if FAILURE
usermsg "Unable to connect to Mics server. Please try again later."
hangup ;hangs up the phone line
pause 2 ;waits two seconds
pwexit ;Close Procomm Plus.
else
transmit "U"
waitfor "choice?"
pause 1
transmit "Z"
waitfor "file name?"
pause 1
transmit "LOGIXA^M"
pause 1
sendfile ZMODEM "LOGIXA"
endif
endproc
Thank you for your help!
DOS> convert.exe filename
This is my script,and it works. I would like to this script:
#define PhoneNum "9714231234"
#define MicsFile "c:\programs files\symantec\procomm plus\upload\logixa"
#define OutFile "c:\programs files\symantec\procomm plus\download\logix.0728.dat.test"
proc main
dialnumber DATA PhoneNum
while $dialing
endwhile
if !$CARRIER
usermsg "Unable to connect to Southwest Bank server. Please try again later."
exit
endif
if FAILURE
usermsg "Unable to connect to Mics server. Please try again later."
hangup ;hangs up the phone line
pause 2 ;waits two seconds
pwexit ;Close Procomm Plus.
else
transmit "U"
waitfor "choice?"
pause 1
transmit "Z"
waitfor "file name?"
pause 1
transmit "LOGIXA^M"
pause 1
sendfile ZMODEM "LOGIXA"
endif
endproc
Thank you for your help!