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
for executing .bat files involving local software. Thanks to everyone for your help and input! Rick -Original Message- From: Judah McAuley [mailto:ju...@wiredotter.com] Sent: Tuesday, March 02, 2010 1:06 AM To: cf-talk Subject: Re: Why, oh why won't my batch file run via 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

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
11:03 PM To: cf-talk Subject: Re: Why, oh why won't my batch file run via cfexecute? 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

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

2010-03-01 Thread Judah McAuley
use cmd.exe properly? Are the arguments set up properly? I tried every variation I could think of. Rick -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Monday, March 01, 2010 11:03 PM To: cf-talk Subject: Re: Why, oh why won't my batch file run via cfexecute

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

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

2010-03-01 Thread Judah McAuley
Message- From: Judah McAuley [mailto:ju...@wiredotter.com] Sent: Tuesday, 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

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
systems...something always goes awry... -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, March 02, 2010 1:03 AM To: cf-talk Subject: Re: Why, oh why won't my batch file run via cfexecute? I tested one of the other bat files in the same directory and still

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