I have an application installed on the server. I need to
start (popup) the app from a CF page.
and the blank white page pops up. No app. I've tried the same
line on Run and it starts the app.
I've also tried:
I get Error 500 page.
if I use cftry and catch the message is: OutFile does not
What is the problem?
First, try this code. It should work for you now:
name = "C:\Windows\system32\cmd.exe"
arguments = "/C dir C:\Windows\system32\ /s /ad /b"
variable = "sDirList"
timeout = 30 <!--- Zero timeouts will NOT work if output
is to be returned (use 0 for "popup" threads only). --->
Second, cfexecute is meant for programs that do something and
then quit on their own. Using with WinSCM32.exe as a "popup" can
eventually crash your server if you are not careful.
Third, you appear to be using Windows XP. In XP, Win32 mode
programs and key executables like ipconfig are "protected" in an
attempt to close some of the 237 security holes discovered in
Micros**t software this week.
This means that cfexecute IS running them (usually) but that
you can't see the results or terminate the threads!
USUALLY, you can clear this issue by checking "Allow service
to interact with desktop" in the "Logon" tab, of the properties
inspector, for the Coldfusion Service -- in the Windows Service