Re: CF8 cfexecute Problem

2011-08-03 Thread Dave Watts
Hmmm... This runs via   cfhttp url=http://www.myserverdev.com/ipi_grabber/get.cfm?w=#xWaitDocTime#s=#lcase(attributes.website)# result=grabResult /. So the caller is on a different server than the webshot program. The caller of the CF program is really irrelevant here. It's the user

Re: CF8 cfexecute Problem

2011-08-03 Thread Richard Steele
That worked! Thank you so much! Is it because both the program Webshot and ColdFusion were installed under my user account? ~| Order the Adobe Coldfusion Anthology now!

Running systeminfo with CFEXECUTE returns an empty string. Why?

2011-08-03 Thread Scott Niven
Any ideas what I'm doing wrong? Here's my code: cfexecute name=c:\windows\system32\systeminfo.exe arguments=/FO CSV variable=data timeout=10 / cfdump var=#data# I've also tried running it without the arguments (see below). Both the code above and the code below return

Re: CF8 cfexecute Problem

2011-08-03 Thread Dave Watts
That worked! Thank you so much! Is it because both the program Webshot and ColdFusion were installed under my user account? It's possible, but it's also possible that it was something not quite the same, but somewhat similar. I realize that's not a very satisfactory explanation, but I'd need

RE: Running systeminfo with CFEXECUTE returns an empty string. Why?

2011-08-03 Thread Bill Franklin
... -Original Message- From: Scott Niven [mailto:scott_ni...@ncsu.edu] Sent: Wednesday, August 03, 2011 11:39 AM To: cf-talk Subject: Running systeminfo with CFEXECUTE returns an empty string. Why? Any ideas what I'm doing wrong? Here's my code: cfexecute name=c:\windows\system32\systeminfo.exe

CF8 cfexecute Problem

2011-08-02 Thread Richard Steele
I can run a screen capture program executable from a Windows Server 2008 (32bit) cmd line and it captures a flash website fine. However, when I try this from cfexecute, it says no flash player is installed. Latest Flash Player has been installed for IE 8 32 bit. Please advise. Thanks

Re: CF8 cfexecute Problem

2011-08-02 Thread Dave Watts
I can run a screen capture program executable from a Windows Server 2008 (32bit) cmd line and it captures a flash website fine. However, when I try this from cfexecute, it says no flash player is installed. Latest Flash Player has been installed for IE 8 32 bit. Please advise. Thanks. Try

Re: CF8 cfexecute Problem

2011-08-02 Thread Richard Steele
I can run a screen capture program executable from a Windows Server 2008 (32bit) cmd line and it captures a flash website fine. However, when I try this from cfexecute, it says no flash player is installed. Latest Flash Player has been installed for IE 8 32 bit. Please advise. Thanks

Re: CF8 cfexecute Problem

2011-08-02 Thread Richard Steele
Hmmm... This runs via cfhttp url=http://www.myserverdev.com/ipi_grabber/get.cfm?w=#xWaitDocTime#s=#lcase(attributes.website)# result=grabResult /. So the caller is on a different server than the webshot program. ~| Order

CFexecute and licenses

2011-04-05 Thread Richard Steele
Ok, we have a program that we are running using cfexecute. It requires the license for that program to be placed in the folder that holds the program that calls it. Right now, the program doesn't run since cfexecute is the calling program. In this case, thus I assume I'll need to place

Re: CFexecute and licenses

2011-04-05 Thread Dave Watts
Ok, we have a program that we are running using cfexecute. It requires the license for that program to be placed in the folder that holds the program that calls it. Right now, the program doesn't run since cfexecute is the calling program. In this case, thus I assume I'll need to place

Re: CFexecute and licenses

2011-04-05 Thread Richard Steele
Ok, we have a program that we are running using cfexecute. It requires the license for that program to be placed in the folder that holds the program that calls it. Right now, the program doesn't run since cfexecute is the calling program. In this case, thus I assume I'll need

Re: CFexecute and licenses

2011-04-05 Thread Richard Steele
The program is a batch screen capture program. Got the cfexecute to work by putting the license in the jrun folder. So that worked! But now it fails to load the flash plug-in that accompanies IE 8. It works like a charm if run by clicking on a batch file that resides in the folder that has

RE: CF9 cfexecute issues.

2011-04-04 Thread Rick Faircloth
, but thought it could perhaps be a corrupt source file causing a problem. Rick -Original Message- From: Michael Reick [mailto:mich...@widgethq.com] Sent: Monday, April 04, 2011 1:45 AM To: cf-talk Subject: CF9 cfexecute issues. Let me just say I hate CF9 so far. I just upgraded from CF7

Re: CF9 cfexecute issues.

2011-04-04 Thread Russ Michaels
, If not, then it would tell you that executing batch file sis the problem or cfexecute itself. If it does work, then try doing the original image manipulation but just 1 image and see if that works. Then work forward from here, if 1 image works, then increase the iterations of images processed until you get

CF9 cfexecute issues.

2011-04-03 Thread Michael Reick
Monitor, and goes away 10 minutes or so later, but the page just hangs. I've even tried putting a cfabort after the last cfexecute, but nothing. The log file just shows the steps in the batch file, which is simply migrating to the directory and calling the .vbs file, or ffmpeg on the appropriate

CFEXECUTE output Access Report

2010-05-06 Thread Stephen Hoskins
Im stuck here, and after all my years as a programmer, never have I been faced with this and on a shirt deadline. There is a pretty complex MS Access report that takes in an ID and outputs a report, how the heck can I get this to run online??? Im poking through cfexecute but no luck yet

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-02 Thread Matthew Small
Run ProcMon while making the request. http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx If all else fails, it may be worth trying the System Command contribution on Ria. http://systemcommand.riaforge.org/ That way you can get the error returned to the output.

RE: Why, oh why won't my batch file run via cfexecute?

2010-03-02 Thread Rick Faircloth
why won't my batch file run via cfexecute? Run ProcMon while making the request. http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx If all else fails, it may be worth trying the System Command contribution on Ria. http://systemcommand.riaforge.org/ That way you can get the error

RE: Why, oh why won't my batch file run via cfexecute?

2010-03-02 Thread Rick Faircloth
and that seems to have done the trick. At least I have been able to use cfexecute to successfully run a couple of .bat files. It seems, as someone mentioned earlier, that the pickiness of Windows 7 concerning the path capitalization wasn't a problem in this case. I have the drive letter in the cfexecute

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-02 Thread Dave Watts
Before having a chance to run with ProcMon, I reinstalled CF9 tested the bat file without success, decided to change the logon account setting to Interact with Desktop (or whatever it says), as I remember having an issue with that...but I think that was when I was trying to use a third party

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-02 Thread Dave Watts
So, it turns out that the account under which the CF service is running is critical for executing .bat files involving local software. Service accounts may often have trouble running things that you can run under your own account. This could be caused by permissions or different environment

RE: Why, oh why won't my batch file run via cfexecute?

2010-03-02 Thread Rick Faircloth
: Tuesday, March 02, 2010 4:33 PM To: cf-talk Subject: Re: Why, oh why won't my batch file run via cfexecute? So, it turns out that the account under which the CF service is running is critical for executing .bat files involving local software. Service accounts may often have trouble running things

Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Rick Faircloth
Hi, all. I've been running batch files with cfexecute on CF 8 for a couple of years now. I just reformatted my computer and installed Win7 32-bit and CF 9 on a machine that exists just to process data. Like a dummy, I didn't back up my data import profiles in Navicat, the software

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Dave Watts
However, when I try to use. cfexecute name               = #expandPath('/real_estate_data/hmls/10_hmls_batch_files/load_hmls_active_ph otos.bat')#                        arguments     =  /c                        timeout           =  5000 /cfexecute What happens if you run cmd.exe using

RE: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Rick Faircloth
Thanks for the tip, Dave, but it didn't help... I tried: cfexecute name = c:\windows\system32\cmd.exe arguments = /c /#expandPath('/real_estate_data/hmls/10_hmls_batch_files/load_hmls_active_ph otos.bat')# timeout= 100 errorVariable

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Judah McAuley
files to run from cfexecute or is it only this bat file? Is this bat file on a local drive or a maped/unc drive? Judah On Mon, Mar 1, 2010 at 9:23 PM, Rick Faircloth r...@whitestonemedia.com wrote: Thanks for the tip, Dave, but it didn't help... I tried: cfexecute name           =  c:\windows

RE: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Rick Faircloth
To: cf-talk Subject: Re: Why, oh why won't my batch file run via cfexecute? Was this working on Win 7 before or was it on a previous version of Windows, say XP? Because Windows 7 has permissions locked down much more tightly than XP did and I've seen issues reported as can't find something when

RE: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Rick Faircloth
, March 02, 2010 12:30 AM To: cf-talk Subject: Re: Why, oh why won't my batch file run via cfexecute? Was this working on Win 7 before or was it on a previous version of Windows, say XP? Because Windows 7 has permissions locked down much more tightly than XP did and I've seen issues reported

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Dave Watts
I tested one of the other bat files in the same directory and still got the error message: The filename, directory name, or volume label syntax is incorrect. Do you have any spaces in your path that are getting escaped when you run it manually, maybe through tab completion? Dave Watts, CTO,

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Kevin Pepperman
Rick, I had an issue like this with an app called BarTender for generating Barcodes. It ran fine on XP, It also worked from a CMD prompt, but in Windows 7 it would not work with cfexecute. It was because the path was not using the EXACT correct path and volume label. eg: c:\program files

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Judah McAuley
The next two things I would try are to execute a .bat file using cfexecute in another directory to see if CF is just having problems with cfexecute, period, and if you are able to run a bat file that does something like del myfile.txt, try putting the bat file you really want to execute

Re: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Kevin Pepperman
If all else fails, it may be worth trying the System Command contribution on Ria. http://systemcommand.riaforge.org/ That way you can get the error returned to the output. http://systemcommand.riaforge.org/ -- /Kevin Pepperman They who can give up essential liberty to obtain a little

RE: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Rick Faircloth
in every way manually and I can execute the profile load_hmls_active_photos that I created in Navicat and that the bat file is supposed to run, but I just can't get it to execute within cfexecute as it did just this past Sunday before I changed to Win7 RTM and from CF8 to CF9. I've been searching all

RE: Why, oh why won't my batch file run via cfexecute?

2010-03-01 Thread Rick Faircloth
tomorrow. I'm tired of beating my head on this brick wall for tonight... Until tomorrow! Rick -Original Message- From: Kevin Pepperman [mailto:chorno...@gmail.com] Sent: Tuesday, March 02, 2010 1:04 AM To: cf-talk Subject: Re: Why, oh why won't my batch file run via cfexecute? Rick, I had

cfexecute problems

2010-01-24 Thread Aaron Marshall
to execute the batch file is; cffile action='write' file='C:\stop.bat' output='TASKKILL /F /IM #session.username#.exe' cfexecute name = 'C:\stop.bat' outputFile = 'C:\output.txt' arguments = '/C' timeout = '1' /cfexecute The batch file is created and has the correct

cfexecute problems

2010-01-24 Thread Aaron Marshall
to execute the batch file is; cffile action='write' file='C:\stop.bat' output='TASKKILL /F /IM #session.username#.exe' cfexecute name = 'C:\stop.bat' outputFile = 'C:\output.txt' arguments = '/C' timeout = '1' /cfexecute The batch file is created and has the correct

cfexecute running a batch file not return all the output

2009-10-22 Thread Scott Brady
We are using cfexecute to run an ant script (the build file uses ant4cf, if that matters) via a batch file. If the build succeeds, we get all of the output returned (BUILD FILE SUCCESSFUL). However, if the build fails, we don't get BUILD FILE FAILED followed by the failure reason. I've

Re: cfexecute running a batch file not return all the output

2009-10-22 Thread Leigh
We are using cfexecute to run an ant script ... I am definitely not the one to advise you on ant ;-) But if it writes to stderr, you may want to try redirecting stderr in your cfexecute call. Just for grins. There were a few issues with that in earlier versions. Though I think that issue

Re: cfexecute running a batch file not return all the output

2009-10-22 Thread Scott Brady
On Thu, Oct 22, 2009 at 6:57 AM, Leigh cfsearch...@yahoo.com wrote: I am definitely not the one to advise you on ant ;-) But if it writes to stderr, you may want to try redirecting stderr in your cfexecute call. Just for grins. There were a few issues with that in earlier versions.  Though I

Re: cfexecute running a batch file not return all the output

2009-10-22 Thread Leigh
Yep, that was the fix.  I didn't realize the error output and standard output is virtually identical to the eye or that cfexecute doesn't read error output.  Yes, neither did I until I ran into the same problem ;-) Cheers -Leigh

Re: Problem with CFEXECUTE

2009-09-06 Thread Jochem van Dieten
On Wed, Sep 2, 2009 at 11:24 PM, Steve Lichtenberg wrote: cfexecute name = #runpath#   arguments = #argslist#    outputfile=#file_directory#fcdc.out        timeout=2 / If I run it with no timeout, I get the display page but the execute never runs.  If I put anything in the timeout

Problem with CFEXECUTE

2009-09-02 Thread Steve Lichtenberg
I am running the following code: cfset File_Directory = ExpandPath(/download/) cfset runpath=D:\Additional Software\plink.exe cfset argslist= -v -batch -ssh 12.144.48.30 -l user -pw pwd /usr/local/bin/load-prod #uploadfile.serverfile# #variables.sessionuid# cftry cfexecute name = #runpath

cfexecute to wait

2009-04-07 Thread Richard White
hi i am running a cfexecute to run the mysqldump command at set times of the day. i want it to produce the dump file, zip up the file, and then email it to us before deleting the files. i have got it all working but the problem is: how can i detect when a cfexecute has finished. i could

Re: cfexecute to wait

2009-04-07 Thread Richard White
= true / /cfif /cfloop hi i am running a cfexecute to run the mysqldump command at set times of the day. i want it to produce the dump file, zip up the file, and then email it to us before deleting the files. i have got it all working but the problem is: how can i detect when

RE: CFexecute Tag

2008-10-20 Thread Dawson, Michael
, 2008 4:34 PM To: cf-talk Subject: CFexecute Tag I don't understand why the following code, won't bring up a 'window' of 'DOS' command prompt on my server/local box. OS=Windows XP; CF version=CF8 Standard (licensed copy). cfexecute name = C:\Windows\System32\cmd.exe /cfexecute No error code

Re: CFexecute Tag

2008-10-20 Thread Don L
Are you logged in to the server's console using the same credentials as the CF service? If the CF service is running as a different user, then it can't display a window in another user's session. Mike Good thought, Mike, thank you. So, I reset cf8 logon account to be the same as XP logon

Re: CFexecute Tag

2008-10-20 Thread Dave Watts
Good thought, Mike, thank you. So, I reset cf8 logon account to be the same as XP logon session/account and restarted, and went a step further, disabled firewalls including XP's own, however, same outcome (the command prompt did not show up). What else could be in the way? By default,

cfexecute and ffmpeg

2008-10-20 Thread Adrian Lynch
with the following line: cfexecute name=ffmpeg.exe arguments=-i #LOCAL.file_details.file_path# timeout=2 variable=LOCAL.output / cfdump var=#LOCAL.output# I've tried no timeout, a timeout of 0, of 1, of 99 and still LOCAL.output is an empty string. My though is that ffmpeg is actually

RE: cfexecute and ffmpeg

2008-10-20 Thread Adrian Lynch
Just had a read of the fixes in CF 8.0.1 and discovered errorVariable is a new attribute for cfexecute. I knew I'd heard something like that. All sorted now :O) Adrian -Original Message- From: Adrian Lynch Sent: 20 October 2008 18:29 To: cf-talk Subject: cfexecute and ffmpeg I

Re: CFexecute Tag

2008-10-20 Thread Web Specialist
=Windows XP; CF version=CF8 Standard (licensed copy). cfexecute name = C:\Windows\System32\cmd.exe /cfexecute No error code, no security issue. I also try the notepad.exe with same outcome. What's the expected result for CFEXECUTE (last time I used it probably years ago...). Thanks. Chunshen

Re: CFexecute Tag

2008-10-20 Thread Don L
Don, May be inserting a timeout parameter could be display the DOS prompt??? Cheers Marco Antonio Marco, interesting idea, tried it, now I'm getting some 'meaningful' debugging info, Timeout period expired without completion of C:\Windows\system32\cmd.exe I've set Timeout to 3 and 6

Re: CFexecute Tag

2008-10-20 Thread Dave Watts
Dave, the Allow interactive with desktop is only applicable to Local System account while I now set CF8 Server to use an XP user account for log on, hence, can't use it unless there's some manual approach, have you done anything like that for this option? You can set CF to run as SYSTEM

CFexecute Tag

2008-10-19 Thread Don L
I don't understand why the following code, won't bring up a 'window' of 'DOS' command prompt on my server/local box. OS=Windows XP; CF version=CF8 Standard (licensed copy). cfexecute name = C:\Windows\System32\cmd.exe /cfexecute No error code, no security issue. I also try the notepad.exe

cfexecute, Windows 2003 and runas

2008-09-23 Thread Jochem van Dieten
privilege and the ColdFusion service is configured to run under the mediumpriv account. This all works as it should. I have a CF template that uses cfexecute to start a batch file named bootstrap.bat. bootstrap.bat runs under the same account as CF, mediumpriv. At the end of bootstrap.bat I have

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Dana Kowalski
I believe there are 6 items in the mmc you need to give that user, including run as service. If I remember right, one was the batch process one. Lemme go see if I can dig up the MS KB article. We have to do this all the time, and it ends up being a pain!

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Matthew Small
Are you referring to 812614? Jochem - What would be interesting to see is why the batch file is in a hang condition. You can inspect the condition of the process by getting a hang dump of the process and examine it's callstack (I assume there's only one thread). Follow these steps and

RE: cfexecute, Windows 2003 and runas

2008-09-23 Thread Dave Watts
I have a CF template that uses cfexecute to start a batch file named bootstrap.bat. bootstrap.bat runs under the same account as CF, mediumpriv. At the end of bootstrap.bat I have a runas command: runas /user:lowpriv /savecred D:\lowpriv\run.bat %RunName% Maybe you need to specify

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Dana Kowalski
yeah 812614 lays out the IIS permissions for the box. We also had to apply some of these to a custom user running CF 8.x in order to get some things working right http://support.microsoft.com/kb/812614/en-us ~| Adobe®

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Jochem van Dieten
Matthew Small wrote: Are you referring to 812614? IIS permissions are probably not very relevant when the system runs Apache, not IIS, and shows the same behaviour through the builtin webserver. Jochem - What would be interesting to see is why the batch file is in a hang condition. That

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Jochem van Dieten
Dave Watts wrote: I have a CF template that uses cfexecute to start a batch file named bootstrap.bat. bootstrap.bat runs under the same account as CF, mediumpriv. At the end of bootstrap.bat I have a runas command: runas /user:lowpriv /savecred D:\lowpriv\run.bat %RunName% Maybe you

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Dana Kowalski
You said the command works fine when you run it as your user then fire the runas right? Is your user a local/domain admin? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Jochem van Dieten
the CF template with the cfexecute command. The command does not run when I: - start instance1 as a Windows Service under the mediumpriv account; - call the CF template with the cfexecute command. The mediumpriv user is a regular user that is a member of the Users group and has the 'Log

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Dana Kowalski
I know this exact issue has been a problem since CF 6.x. I've always thought it was a permissions problem, but to be honest I've never used cfexecute. We're just not allowed to =\ Is your CF install running as local system? If it's running as a specific user, you could try making the user

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Matthew Small
You also might want to run Process Monitor on the server while executing this and see if it gives you any clue. - Matt Small I know this exact issue has been a problem since CF 6.x. I've always thought it was a permissions problem, but to be honest I've never used cfexecute. We're just

Re: cfexecute, Windows 2003 and runas

2008-09-23 Thread Jochem van Dieten
Dana Kowalski wrote: Is your CF install running as local system? No, it is running as mediumpriv. If it's running as a specific user, you could try making the user starting the service a local/domain admin and see quick if it runs then. It doesn't when I run CF as a service, it does when I

Problem with CFExecute...

2008-09-17 Thread Rick Faircloth
Hi, all... I'm trying to run this cfexecute tag... cfexecute name = C:\WINDOWS\system32\cmd.exe arguments = /c e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\getfiles.bat timeout= 2 /cfexecute which is supposed to fire off

Re: Problem with CFExecute...

2008-09-17 Thread Jochem van Dieten
with cfexecute, the cfthread (if I use one) just runs with no files transferred, or, if I don't use cfthread, the template just runs with no files transferred. If you execute it from the command line, do you use the same user account as CF uses? I have never used ftp voyager, but from the looks

RE: Problem with CFExecute...

2008-09-17 Thread Rick Faircloth
:15 PM To: CF-Talk Subject: Re: Problem with CFExecute... Rick Faircloth wrote: c:\program files\rhinosoft.com\ftp voyager\ftpvoyager.exe profile=MLXChange get=IF20080917_010257_RES_1.zip local=e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\voyager The above batch file runs

Re: Problem with CFExecute...

2008-09-17 Thread Jochem van Dieten
Rick Faircloth wrote: Changing CF log on as to my personal account seems to have done the trick. Any ramifications for changing the log on as for CF that I should be aware of? Use an account with the least privileges and never use an account that is used by a user as well. (Just imagine

Re: Problem with CFExecute...

2008-09-17 Thread Ian Skinner
Jochem van Dieten wrote: (Just imagine what would happen if that user enters his password incorrectly 3 times and is locked out.) Or leaves the company and the user account is deactivated. Or changes their password after three months as often is network policy. I've seen it all. Do as Jochem

RE: Problem with CFExecute...

2008-09-17 Thread Rick Faircloth
Thanks for the feedback, guys! Rick -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 4:04 PM To: CF-Talk Subject: Re: Problem with CFExecute... Jochem van Dieten wrote: (Just imagine what would happen if that user enters his

RE: Trying to use cfexecute to run batch file...

2008-09-06 Thread Rick Faircloth
Trying the cfexecute this way didn't work, either: cfexecute name=c:\windows\systems32\cmd.exe arguments=/c e:\adobe_site\getfiles.bat timeout=30 /cfexecute ??? Thanks, Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday

Re: Trying to use cfexecute to run batch file...

2008-09-06 Thread Jim Wright
On Sat, Sep 6, 2008 at 8:17 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Trying the cfexecute this way didn't work, either: cfexecute name=c:\windows\systems32\cmd.exe arguments=/c e:\adobe_site\getfiles.bat timeout=30 /cfexecute I'm guessing the context of the cfexecute

RE: Trying to use cfexecute to run batch file...

2008-09-06 Thread Dave Watts
I'm trying to use cfexecute to run this bath file content: ftp -s:getfiles.txt Specify the full path to getfiles.txt. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington

RE: Trying to use cfexecute to run batch file...

2008-09-06 Thread Justin D. Scott
However, I can't get any results except a timeout when I use cfexecute to run the batch file. cfexecute name=e:\adobe_site\getfiles.bat timeout=60 Based on the file sized that you're likely dealing with, the timeout is too low. I run my CDEXECUTE with a timeout of 10800 for IDX

RE: Trying to use cfexecute to run batch file...

2008-09-06 Thread Rick Faircloth
Thanks, everyone, for the suggestions. Here's the final solution: cfexecute code: cfexecute name=C:\WINDOWS\system32\cmd.exe arguments=/c e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\getfiles.bat timeout=10800 /cfexecute batch file: ftp -s:e:\inetpub

Trying to use cfexecute to run batch file...

2008-09-05 Thread Rick Faircloth
I'm trying to use cfexecute to run this bath file content: ftp -s:getfiles.txt The batch file reads its commands from getfiles.txt, which has the following code: open datalink.interealty.com [username] [password] cd /DataLinkOutput/SAV/SAV_119201 prompt mget *.* bye I can run the batch

Re: cfexecute batch file not working

2008-08-12 Thread Jochem van Dieten
Marcus Goedeker wrote: I have a very simple batch file that i can run fine on its own, but can't seem to get it to work using cfexecute. I used cfexecute a couple years ago and had no problems, but i can't seem to get it to work with this particular batch file. The cfexecute code is very

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Try: cfexecute name=c:\windows\system32\cmd.exe arguments=c:\test.bat outputfile=c:\output.txt / Jochem Thanks for the reply. I tried it and it doesn't work. It doesn't output anything in the file either. Marcus

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Is CF logged in as a service or a user? -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 14:42 To: CF-Talk Subject: Re: cfexecute batch file not working Try: cfexecute name=c:\windows\system32\cmd.exe arguments=c:\test.bat outputfile=c

Re: cfexecute batch file not working

2008-08-12 Thread Claude Schneegans
I have a very simple batch file Don't forget that the default directory used by the bat file is not the one the bat file resides, but the on from which it is run. In this occurrence, it is the CF directory. Then you may have to set the working directory from inside the bat file itself. --

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Is CF logged in as a service or a user? Thanks for the reply. I tried it and it doesn't work. It doesn't output anything in the file either. Marcus A service. ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
I have a very simple batch file Don't forget that the default directory used by the bat file is not the one the bat file resides, but the on from which it is run. In this occurrence, it is the CF directory. Then you may have to set the working directory from inside the bat file itself. --

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Did you try it logged in as Admin? -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 15:25 To: CF-Talk Subject: Re: cfexecute batch file not working Is CF logged in as a service or a user? Thanks for the reply. I tried it and it doesn't work

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Did you try it logged in as Admin? A service. Yes, i am the admin. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
One thing i have noticed is that the output file has a line break before and after the actual command output. I don't think this would make a difference, but I guess you never know. ~| Adobe® ColdFusion® 8 software 8 is the

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Umm, just to be clear, I meant with Coldfusion logged in as Administrator, not sure if it will help but it certainly might. -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 16:20 To: CF-Talk Subject: Re: cfexecute batch file not working Did you

Re: cfexecute batch file not working

2008-08-12 Thread Chris Blackwell
have you tried setting a timeout for the cfexecute ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http

cfexecute batch file not working

2008-08-11 Thread Marcus Goedeker
I have a very simple batch file that i can run fine on its own, but can't seem to get it to work using cfexecute. I used cfexecute a couple years ago and had no problems, but i can't seem to get it to work with this particular batch file. The cfexecute code is very simple...cfexecute name=C

cfexecute and logparser

2008-07-02 Thread Matthew Friedman
I need to be able to parse the application log file and send a team member a list of all error or issues. I have installed the MS logparser application and I am trying to connect to it using the cfexecute. When I run the script from the command promote it works fine and I get the information

Re: cfexecute and logparser

2008-07-02 Thread Dominic Watson
As a hunch (I've not used cfexecute) I'd suggest: cfsavecontent variable=querytouseselect * from C:\ColdFusion8\logs\application.log -i:csv/cfsavecontent ie. ditch the logparser command, you have already told cfexecute to execute logparser.exe HTH Dominic 2008/7/2 Matthew Friedman [EMAIL

Re: cfexecute and logparser

2008-07-02 Thread C S
\application.log -i:csv /cfsavecontent cfexecute name = C:\Program Files\Log Parser 2.2\logparser.exe arguments='#querytouse#' variable=items timeout = 1 ~| Adobe® ColdFusion® 8 software 8 is the most

Re: cfexecute and logparser

2008-07-02 Thread C S
ie. ditch the logparser command Yes .. what he said ;-) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive:

Re: cfexecute - at my wits end!

2008-04-25 Thread Dave Phillips
Do you have quoted values in your arguments? CFEXECUTE won't handle those correctly. However, you can pass an array of arguments (instead of a string), and those should work. Yes! I will check into the array thing. Thanks

Re: cfexecute - at my wits end!

2008-04-25 Thread Dave Phillips
Okay, I have taken both of your suggestions. I changed coldfusion to run under my user account. That caused it to be able to launch the sox application successfully, SOMETIMES. I did the array of arguments. That didn't affect anything, but I left it that way. So now my problem is that when

Re: cfexecute - at my wits end!

2008-04-25 Thread C S
with ffmpeg and using \c solved it for me. http://www.forta.com/blog/index.cfm/2006/7/31/Using-CFEXECUTE-To-Execute-Command-Line-Utilities ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date

cfexecute - at my wits end!

2008-04-23 Thread Dave Phillips
Hi all, I am trying to combine two wav files from the command prompt using coldfusion and sox (http://sox.sourceforge.net/). I am using cfexecute. I can output my 'name' and 'arguments' attribute for cfexecute to the screen, copy and paste them to the command prompt and the program executes

Re: cfexecute - at my wits end!

2008-04-23 Thread AJ Mercer
coldfusion and sox (http://sox.sourceforge.net/). I am using cfexecute. I can output my 'name' and 'arguments' attribute for cfexecute to the screen, copy and paste them to the command prompt and the program executes perfectly. However, when I run the cfexecute, the program apparently does

Re: cfexecute - at my wits end!

2008-04-23 Thread Barney Boisvert
Do you have quoted values in your arguments? CFEXECUTE won't handle those correctly. However, you can pass an array of arguments (instead of a string), and those should work. That being said, I usually go to an intermediary shell script (or BAT file) when I have to shell out from CF

  1   2   3   4   5   6   7   8   9   >