Professional Web Applications Themes

CFEXECUTE Not Working - Coldfusion - Advanced Techniques

I'm having an issue and hopefully someone can help me out. I'm trying to execute an exe called Sox.exe (Command line utility to convert audio files) and it works in a runas environment but not in a cfexecute environment. I'm wondering if I'm missing something. I have tried just about everything, raising the timeout and so on and just cant seem to get it to work. It doesnt error out either, it just doesnt do anything. I know cfexecute works, as I use it with several other exe command line utilities, but for some reason it doesnt work with this ...

  1. #1

    Default CFEXECUTE Not Working

    I'm having an issue and hopefully someone can help me out.

    I'm trying to execute an exe called Sox.exe (Command line utility to convert
    audio files) and it works in a runas environment but not in a cfexecute
    environment. I'm wondering if I'm missing something. I have tried just about
    everything, raising the timeout and so on and just cant seem to get it to work.
    It doesnt error out either, it just doesnt do anything. I know cfexecute
    works, as I use it with several other exe command line utilities, but for some
    reason it doesnt work with this one.

    Below is a sample command I run in runas and it works.

    "D:\test\sox.exe" -t ul D721BFC4114335A3379D04B575961EC4.vox -t wav -u
    D721BFC4114335A3379D04B575961EC4.wav

    however this does not work.

    <cfexecute name="D:\test\sox.exe" arguments="-t ul
    D721BFC4114335A3379D04B575961EC4.vox -t wav -u
    D721BFC4114335A3379D04B575961EC4.wav"></cfexecute>

    With the variables in place its

    <cfexecute name="D:\sox.exe" arguments="-t ul #WavFileName#.vox -t wav -u
    #WavFileName#.wav"></cfexecute>

    any ideas?


    michin11 Guest

  2. #2

    Default Re: CFEXECUTE Not Working

    Try this:

    [url]http://www.cftagstore.com/tags/cfxexec.cfm[/url]

    Mr Black Guest

  3. #3

    Default Re: CFEXECUTE Not Working

    Can MM definitvely state that <cfexecute> can invoke Excel on the server. I
    experience that same problems everyone else describes ad nauseum.

    It is awfully peculiar that MM remains mum on this issue. MX7 Enterprise isn't
    cheap. Your customers deserve an answer.

    ehrenma Guest

  4. #4

    Default Re: CFEXECUTE Not Working

    I ended up ditching cfexecute because its so unreliable, and just use the cfexecute tag. But I agree, something should be done about it, or just remove it as a feature.
    michin11 Guest

Similar Threads

  1. cfexecute
    By cgsj_usa@yahoo.com in forum Macromedia ColdFusion
    Replies: 11
    Last Post: October 5th, 02:39 AM
  2. CFEXECUTE working on CFMX 6.0 but not CFMX 6.1
    By Alex in forum Coldfusion - Advanced Techniques
    Replies: 1
    Last Post: June 30th, 03:30 PM
  3. CFExecute Multiple Times Not Working?
    By pdrich in forum Coldfusion - Advanced Techniques
    Replies: 0
    Last Post: May 12th, 08:16 PM
  4. CFExecute and MX7
    By tlebel in forum Macromedia ColdFusion
    Replies: 0
    Last Post: May 2nd, 06:40 PM
  5. cfexecute not working (target program freezes)
    By methik in forum Macromedia ColdFusion
    Replies: 2
    Last Post: March 15th, 10:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139