|
|
Home / Groups / ColdFusion Talk (CF-Talk)
Execute a Perl scriptOff the top of my head, wouldn't you want to be pointing it to the PERL interpreter/'executable and not cmd.exe? ~ G On Mon, Oct 6, 2008 at 9:59 AM, Ian Skinner <hof@sierraoutdoorrecreation.com > wrote: > What would I be looking at to run a Perl script at > d:/path/to/my/perl/loader.pl %year% with a <cfexecute...> tag? > > I've tried to do it directly: > <cfexecute name="d:\path\to\my\perl\loader.pl" arguments="#year#" > variable="goodbar" errorvariable="foobar"/> > > I've tried to do it through cmd.exe: > <cfexecute name="c:\windows\system32\cmd.exe" > arguments="d:\path\to\my\perl\loader.pl #year#" variable="goodbar" > errorvariable="foobar"/> > > I am not having much luck with this. > > This is a Windows 2003/CF 8.0.1 server. > > > |
Mailing Lists
|
Latest Fusion Authority Articles
|