Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java.io.IOException 1

Status
Not open for further replies.

FALCONSEYE

Programmer
Jul 30, 2004
1,158
US
i am using the following

<cfexecute name="...\somthing.exe"></cfexecute>

and getting an error

An exception occurred when invoking an external process.
The cause of this exception was that: java.io.IOException: CreateProcess: \...\something.exe error=3.

ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem.

does anyone have any idea?
 
o crappy. i just did pcanywhere and got it 'partially' work.
my next question is how to invoke an application.
i used <cfexecute name="...\something.exe"></cfexecute>
what i expected is to launch an application. but it didn't happen. just like you go C:\winnt\system32\ and click on calc it will launch the calculator application. is there a way to accomplish this?
 
first make sure cfexecute is available on your server.

Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand. - Putt's Law
 
care to share?

Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand. - Putt's Law
 
sure, i was on serverA and the application was residing on server B. so my path <cfexecute name="f:/.../something.exe"> was wrong.
when i changed it to name="c:/..../something.exe" it worked just fine. i have another question tho. can i launch an application via <Cfexecute> just like you go to
C:/winnt/system32/calc.exe it will run the calculator application. my <Cfexecute> does not launch the app. can this be done?
 
yeah but what good is that going to do. the example in livedocs is

Code:
<cfexecute name = "C:\WinNT\System32\netstat.exe"
   arguments = "-e" 
   outputFile = "C:\Temp\output.txt"
   timeout = "1">
</cfexecute>

Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand. - Putt's Law
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top