CFEXECUTE Not Working

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  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. Similar Questions and Discussions

    1. cfexecute
      Did the solution below work for you? Thanks. Chris
    2. CFEXECUTE working on CFMX 6.0 but not CFMX 6.1
      Hi all, I'm using CFBB and want to sync-up the usernames and passwords stored in the cfbb database to the file called by .htaccess to require...
    3. CFExecute Multiple Times Not Working?
      I am also executing a particular EXE more than once. Will using CFLOCK exclusive prevent more than one copy of the program from executing if the...
    4. CFExecute and MX7
      Under testing CFEXECUTE in MX7 I noted it is running under the SYSTEM account. In MX6.1 it ran under the account that was running the MMCF service. ...
    5. cfexecute not working (target program freezes)
      I'm having some trouble with cfexecute and a little mp3 encoding program called LAME. If I go to our CF server, open a command prompt to C:\Program...
  3. #2

    Default Re: CFEXECUTE Not Working

    Try this:

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

    Mr Black Guest

Posting Permissions

  • You may not post new threads
  • You may 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