0 Replies Latest reply on Oct 25, 2012 8:58 AM by FlintHosts.co.uk

    cfexecute arguments

    FlintHosts.co.uk Level 1



      Trying to pass multiple vars in cfexecute like this:-



      <cfexecute  name = "pathto.cmd"

        arguments="'#form.var1#', '#form.var2#', '#form.var3#', '#form.var4#'">


      but it doesn't seem to be working - there no error just nothing happening at the other end.


      The cmd file looks like this:-


      PowerShell.exe -noexit E:\path\to.ps1 %1 %2 %3 %4


      If I hardcode the values for %1 %2 etc then it works so it appears the problem does lie in passing the variables between cfexecute and the cmd file.


      Anyone got any ideas?