Login  Register

exec("cmd") does not open the command window for me in XP...

Posted by macroexec on May 07, 2009; 3:59pm
URL: http://imagej.273.s1.nabble.com/exec-cmd-does-not-open-the-command-window-for-me-in-XP-tp3692634.html

Hi all,

I am trying to run an exe program (that is written in C, and runs from the command line) from a macro, but I can't seem to bring the DOS command prompt/window up.

I know others have gotten the exec() function to work, but I can't figure out how. Could it be a problem with my .exe? It is a C program that asks for user input (uses the default DOS command window for the dialog) and prints output to a file.

Thanks very much!