I have been going nuts with this.
I can not get this to pass the arguments to the exe file.
I have tried the following.
<cfexecute name="c:\winnt\system32\cmd.exe"
arguments="/k c:\telnetscript\tst10.exe /r:script.txt" />
<CFexecute
NAME="c:\telnetscript\tst10.exe"
ARGUMENTS="/r:script.txt /o:output.txt /m"
TIMEOUT="60"/>
And these with the c:\telnetscript\tst10.exe /r:script.txt /o:output.txt /m
inthe file.
<CFexecute
NAME="c:\telnetscript\test.bat"
ARGUMENTS=""
TIMEOUT="60"/>
<CFexecute
NAME="c:\telnetscript\test.com"
ARGUMENTS=""
TIMEOUT="60"/>
<CFexecute
NAME="c:\telnetscript\test.cmd"
ARGUMENTS=""
TIMEOUT="60"/>
It luanches the aplication without the argument.
It suposed to luanch a cmd window telnet to a server send a print command
and close the window. All the telnet commands are in the script.txt file. I
got the telnet exe file from
http://www.er.uqam.ca/merlin/fg591543/tst/index.html
If I type c:\telnetscript\tst10.exe /r:script.txt /o:output.txt /m
at the cmd promt the program runs perfect.
Any help please.
Rick Eidson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists