troubleshooting Question

Need help with cfexecute

Avatar of EricHoma
EricHomaFlag for United States of America asked on
Web DevelopmentWindows BatchColdFusion Language
5 Comments1 Solution655 ViewsLast Modified:
I'm struggling with Cold Fusion cfexecute.  The server is Windows 2003 server with Cold Fusion MX 7.  I'm able to run the batch file from the command prompt on the server and it works fine.  When running on the command line (DOS Prompt) I enter it like this:

C:> FolderName\BatchFile .\FilestoParse\source\116591_MK131-001_7_20120524234051.imp

(There is a space between the executable batch file name and the path to the file to be processed.  The suffix .bat is not required from the command line although I read it might be required using cfexecute.)

I've tried to get it to run using cfexecute and I'm sure it is just a syntax issue.  Not sure if the path and file should be in the "argument" or part of the "name".  I've tried numerous combinations, with and without .bat, etc.......  Any help would be greatly appreciated.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros