User Tag List

Results 1 to 2 of 2

Thread: Unable to Execute External Program Using Command Prompt cmd.exe in Fusion Developer?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jun 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Unable to Execute External Program Using Command Prompt cmd.exe in Fusion Developer?

    I'm beginning to open up some of my old MMF2 mfa files in Fusion Developer. I had a several small applications that used the Windows Command Processor to open up the command prompt and run commands. When I build these using Fusion Developer they don't work. I'm using the execute external program option with an evaluated pathname that uses a global string. I've checked to make sure the string is still being set properly before hitting the run button in the app and I've tried opening and building two different mfa files that basically work the same in Fusion Developer and neither works. Here is basically how they are set up.

    1. The application is set to run with administrator privileges and at start it looks for system directory using the file object.

    2. The beginning of the string gets set to system directory + cmd.exe "C:\Windows\system32\cmd.exe"

    3. The end of the string gets set to /K to keep the command prompt open followed by the command that needs to be run.

    I've tried running other apps using the execute program option and they will open but I can't seem to get the command prompt to open from apps built with Fusion Developer. Is there some sort of security built in to prevent using the Windows Command Processor now or is something else going on?

    Here is a full example of a global string that will run when built with MMF2 but not Fusion Developer.
    "C:\Windows\system32\cmd.exe" /K mklink /D "C:\SYMLNK" "C:\TEST1"

  2. #2
    Clicker Fusion 2.5 DeveloperInstall Creator Pro

    Join Date
    Sep 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Sleepstalker,
    Execute external program asks for two string parameters. When you say that you are giving /K + the command at the end of the string, do you mean at the end of the first parameter (which is supposed to be only the path to the executable) or in the second parameter (where it is supposed to go)?
    ouly

Similar Threads

  1. Question about 'Execute an external program '
    By Slaz in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 18th October 2010, 12:50 PM
  2. Execute an external program is only admin?
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th March 2010, 09:43 AM
  3. Execute external program and size of command box
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th December 2009, 07:43 PM
  4. Execute external program and command line
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 24th December 2009, 12:42 PM
  5. Execute External Program
    By Eclektik in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 20th May 2009, 10:39 PM

Posting Permissions

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