CFEXECUTE not running batch (Security Permissions?)

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default CFEXECUTE not running batch (Security Permissions?)

    I have a batch file that connects up to a server, copies some files and
    disconnects from the server. When I run the batch by itself, it runs just
    fine, but when I use cfexecute to run the program, it doesn't work. I believe
    that it is failing while trying to connect to the other computer.

    <<<< Batch File Start >>>>
    NET USE \\12.3.45.67\IPC$ /USER:myUserID myPassword
    copy c:\datafiles\*.zip \\12.3.45.67\myShare\
    NET USE \\12.3.45.67\IPC$ /DEL
    <<<< Batch File Start >>>>

    Could there be some sort of permissions that Cold Fusion needs to run a "NET
    USE"?

    The Server:
    Windows2003
    Cold Fusion MX7

    Thanks,

    James

    unleashed Guest

  2. Similar Questions and Discussions

    1. What permissions in which directories are needed by theaccount CF is running under in a Mu
      Installed CFMX 7.01 in Multiserver mode and want to run one of the cfusion server service instance under a local account. Runs fine after install...
    2. CFExecute, Batch Files, and Redirection Operators
      Here's my issue... I've got a few batch files written to bridge the gap between CFEXECUTE and our source control system. One of these files uses...
    3. cfexecute and batch files
      I want to execute test..bat or test.cmd using cfexecute. inseted of executing the file , coldfusion shows the content of the file perfixed by...
    4. Security permissions...
      I an attempting to serialize a custom exception class that is derived from System.Exception during runtime. I am getting a the following security...
    5. problems running a batch action in PS7
      I am a photographer and have set up actions in Photoshop to stamp "proof/copyright" as well as lower the resolution to every photo in a foulder of...
  3. #2

    Default Re: CFEXECUTE not running batch (Security Permissions?)

    May want to try this instead:

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

  4. #3

    Default Re: CFEXECUTE not running batch (Security Permissions?)

    Thanks. The CFX_EXEC tag works. $20 well spent.
    unleashed 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