2 Replies Latest reply on Oct 6, 2008 8:47 AM by Newsgroup_User

    cfexecute a Perl script.

    Level 7
      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've tried calling perl.exe:
      <cfexecute
      name="e:\Perl\bin\perl.exe"
      arguments="d:\path\to\my\perl\loader.pl"
      variable="goodbar"
      errorvariable="foobar"/>

      I am not having much luck with this. The weird thing is that I am not
      getting any results OR errors. Just nothing.

      This is a Windows 2003/CF 8.0.1 server.