Hello!

I recently joined this list and this is my first opportunity to post.  I
hope that some guru is out there that knows how to handle my issue because
it is seriously starting to aggravate me!

My issue is that I am trying to run a command with the cfexecute tag.  I can
get the cfexecute tag to work with ping.exe or netstat.exe but when I try to
run my custom command it will not work.

I have tried a few different things and I have read everything on the
allaire forums concerning cfexecute.  What I noticed in the forums is that I
am not the only one to experience this problem but I did not see any fixes
posted.

The code I am using is below (as I said I've tried a couple things and none
work but I am including a couple ways I've tried it).

***** Batch File *****
<cfset args = ArrayNew(1)>
<cfset args[1] = "-mx128m">
<cfset args[2] = "-cp">
<cfset args[3] = "jar\cal2pdf.jar">
<cfset args[4] = "CAL2PDF">
<cfset args[5] = "E:\easydisclosure\1271214\F615.cal">

<cfexecute name="c:\cal2pdf.bat"
    arguments="#args[5]#"
    timeout="5000"/>

***** Calling an exe *******

<cfset args = ArrayNew(1)>
<cfset args[1] = "-mx128m">
<cfset args[2] = "-cp">
<cfset args[3] = "jar\cal2pdf.jar">
<cfset args[4] = "CAL2PDF">
<cfset args[5] = "E:\easydisclosure\1271214\F615.cal">

<cfexecute name="c:\jdk1.2.2\bin\java.exe"
    arguments="#args#"
    timeout="5000"/>

As I said these do not work with cfexecute but they do when I enter them at
the command prompt on the actual machine.

Any help would be appreciated!

Derek Hamilton
Systems Developer
Digital Gear

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_community or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to