For questions specific to the usage of the CFML (ColdFusion Markup Language) tag named
Questions tagged [cfexecute]
38 questions
2
votes
3 answers
2
votes
1 answer
Can't fire script with CFThread, CFExecute and Plink
I am needing to run a remote script on our network to import files. I have set up plink and have it working as needed if I run it manually.
plink name@localserver -ssh -i myKey.ppk /home/here/scriptName.sh
We are writing the code in ColdFusion so…

MinerB
- 43
- 4
2
votes
2 answers
Run VBScript using CFExecute throws error but works fine via command line
I am trying to run a VBScript but CFExecute throws an error
…

Sks
- 612
- 7
- 23
2
votes
2 answers
coldfusion variables into powershell
I have a simple powershell script that creates a txt file thus:-
set-executionpolicy unrestricted -force
$MyVar = 'My Content'
$MyVar | out-file -FilePath "C:\_Testing\test.txt"
This is called from a ColdFusion script here:-

Paul Hopkinson
- 431
- 1
- 6
- 14
2
votes
1 answer
How do I keep CFEXECUTE from hanging after a PrintStackTrace
I'm using ColdFusion MX7 to perform a CFEXECUTE on some Java 6 code.
Unfortunately, since CF7 does not work under JDK 6 I must do it this way.
My problem is that when an exception happens in the Java code if I call a printStackTrace on the…

Tom Hubbard
- 15,820
- 14
- 59
- 86
1
vote
2 answers
sdelete.exe is not working with cfexecute
I am trying to run sdelete.exe (http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx) using cfexecute, but I think cfexecute is not even running that command.
It's not giving me any permission error. And I have given all admin privileges to…

Deepak Yadav
- 1,724
- 3
- 23
- 38
1
vote
3 answers
Executing a batch file using CFEXECUTE
I tried to run test.bat file using cfexecute. It shows timeout error after loding for sometime. The output file is blank. But when i double click the test.bat file it works fine. My code is this,

Priyadharshan
- 61
- 5
1
vote
0 answers
cfexecute time out when calling powershell
I have two versions of lucee one on my computer and the other on a production server. I wanted to protect a word document using Microsoft RMS service, using the below command:

Mustafa Abusalah
- 21
- 3
1
vote
2 answers
coldfusion 8 and 2016: CFEXECUTE not returning result/error
All I get in my browser is a blank screen. If I don't use IsDefined, I would get an error in the page stating the variable doesn't exists.
If I misspell a command (example: using /bin/bsh instead of /bin/bash), I get an exception stating CF cannot…

mrjayviper
- 2,258
- 11
- 46
- 82
1
vote
1 answer
Why does cfexecute return [empty string]?
I'm new to ColdFusion so please forgive me if I'm asking an obvious question.
I'm trying to run a simple code, which I've found somewhere to test if cfexecute works or not.

Grabofus
- 1,924
- 14
- 17
1
vote
5 answers
ColdFusion: CFEXECUTE/FFMPEG Memory Issue?
So my application allows for users to upload video, convert it using FFMPEG and then transfer it over to the Flash Media Server. Lately, I've run into an issue.
If ever there is an error when converting video, I automatically generate cfcatch report…

dcolumbus
- 9,596
- 26
- 100
- 165
1
vote
0 answers
Error while Running a .exe file using coldfusion schedule task
I need to run a exe file on app server using coldfusion schedule task. I wrote code inside cfm file with cfexecute command below.
But the executable doesn't run with/without timeout clause in cfexecute. Can anyone point out what I'm doing…

Aman
- 15
- 2
- 5
1
vote
0 answers
Running VBS script via CFEXECUTE fails
I have a VBS script which when run from the command line runs perfectly, but when I try to execute the script via CFEXECUTE the script does not seem to run (the file which should be created is not created).
The following text appears in my browser…

Michael
- 1,643
- 1
- 15
- 31
0
votes
3 answers
cfexecute time out
I'm running CF9 dev edition - using the built in webserver, on win XP sp3
I don't seem to be able to get a command line to run from CF...
Error looks like this:
Timeout period expired without completion of C:\Program Files\Vis\vis.exe
If I run this…

j-p
- 3,698
- 9
- 50
- 93
0
votes
2 answers
What is the correct way to handle apostrophes in text in ImageMagick
I have a script that puts together ImageMagick command line commands to do processing on PDF documents. These end up being extremely long, but this is a representative example of one such command (line returns added for readability:
magick.exe…

Nicholas
- 1,974
- 4
- 20
- 46