Questions tagged [cfexecute]

For questions specific to the usage of the CFML (ColdFusion Markup Language) tag named . When using this tag also include the more generic [cfml] and [coldfusion] tags.

References:

38 questions
9
votes
1 answer

CFEXECUTE assigning it to run with administrator rights

I am trying to change a password with active directory using cfexecute. The only code on my page is this (username and the new password are filled in):
David Brierton
  • 6,977
  • 12
  • 47
  • 104
5
votes
1 answer

Backup MySQL db with Coldfusion

What I want to do is run a backup task in Coldfusion (probably in a scheduled task) which will back up the structure and data in a MySql database. The hosting server I use always blocks the use of cfexecute for security purposes so I can't use…
Pat Dobson
  • 3,249
  • 2
  • 19
  • 32
4
votes
2 answers

How to pass variable into powershell script through CFExecute arguments?

I'm trying to pass a user supplied value into PowerShell script using the following code, but am having no luck:
Raimonds Plume
  • 189
  • 1
  • 9
3
votes
1 answer

Git Pull / Fetch Timing Out Using ColdFusion

I had to write a simple ColdFusion web page showing clickable Git feature branches for multiple Git repositories. This is for a group of testers so they can easily checkout branches on a remote server for testing. My works for showing…
gfrobenius
  • 3,987
  • 8
  • 34
  • 66
3
votes
1 answer

Returning all output using CFEXECUTE

I have a CFEXECUTE tag somewhat like the following: The problem I am having is that not all output is being captured by the tag. When I run the…
Michael
  • 1,643
  • 1
  • 15
  • 31
3
votes
0 answers

Using CFEXECUTE to generate SVN log problems

I'm trying to use a CFEXECUTE command to generate an SVN log file for me. The problem I'm running into is the log file is coming back empty. I'm using SlikSVN and BlueDragon 7.1.0 on a Windows 7 machine:
mwill81
  • 115
  • 7
3
votes
2 answers

cfexecute command line

I've just installed wkhtmltopdf which converts webpages to pdfs. I can run it from the command line on the server like so: wkhtmltopdf http://www.google.co.uk c:\google.pdf wkhtmltopdf was added added to the path environmental variable. The real…
Sam
  • 444
  • 1
  • 4
  • 14
3
votes
2 answers

CFExecute of jsmin fails

I am trying to minify some files in a roll-up script using jsmin. This works just fine on my local machine but when pushed to production it doesn't work at all. I am running the built-in CF development server locally and IIS on production. Not…
illvm
  • 1,336
  • 13
  • 28
2
votes
1 answer

CFExecute not executing appcmd.exe

I created the following code on a Cofdfusion server: file name: testWebsite.cfm
Charlie Brown
  • 144
  • 10
2
votes
1 answer

Does ColdFusion fire CFEXECUTE and then leave or does it wait for CFEXECUTE to complete?

I am using ColdFusion 9.1.2 We are using a CFC to save some data via a query. After the query runs, there is a CFEXECUTE. Once that completes, which can take 30 seconds, I want to query the database that the CFEXECUTE wrote something to and return a…
Evik James
  • 10,335
  • 18
  • 71
  • 122
2
votes
0 answers

Cannot find module 'puppeteer' via cfexecute, but works on cmd

Please save my sanity with this. OS: Windows Server 2012 R2 Installed Nodejs via executable. This also installed npm Tested both via cmd with npm -v and node -v. Both found. Using cmd installed puppeteer using npm install puppeteer@9.0.0 -g Windows…
SimonDau
  • 425
  • 4
  • 8
2
votes
1 answer

Is it possible to get powershell entered code line response to coldfusion in cfexecute?

I'm trying to get Powershell's output back to ColdFusion with different attributes like errorVariable, Variable, errorFile, outputFile but with no success. Coldfusion code -
Raimonds Plume
  • 189
  • 1
  • 9
2
votes
3 answers

Who is the owner of a folder created with a batch file called by CFEXECUTE?

I'm running ColdFusion 9 add Windows Server Datacenter. I have written a batch file that creates a directory on the system. If I use cfexecute to call cmd.exe to run the batch file, who is the owner of the directory created? Is it the user that runs…
js1983
  • 310
  • 2
  • 12
2
votes
1 answer
2
votes
0 answers

How to pass an argument into another argument in ColdFusion cfexecute function

I'm running ColdFusion with Splunk. Initially I pass a search to Splunk and it returns a job id. Then I must pass that job id into a cfexecute function argument. For example this is how I want the argument to look: arguments = "-u userid:password -k…
kjmatt
  • 53
  • 6
1
2 3