House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 05, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home / Groups / ColdFusion Talk (CF-Talk)

Execute a Perl script

Author:
Gerald Guido
10/06/2008 10:50 AM

Off 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