I assume you tried the "spawn" and "vmlauncher" attributes of the "exec" task.
-----Original Message----- From: Frank Schaare [mailto:[EMAIL PROTECTED] Sent: Sunday, August 14, 2005 5:21 PM To: Ant Users List Subject: Open a shell and run a batchfile Hi, i´d like to automate some tasks under Win 2000 Server. A dos box should open and a batch file should be executed therwith the user can read the batchfiles output. There are tons of examples like this: <exec executable="cmd"> <arg line="/c test.bat" /> </exec> i´ve tried several mutations of these examples, but none of them opened the expectet cmd-box for me. In fact, tis topic should be FAQ, but i searched the arcives until 2000 without finding a suitable answer. Is it possible to open a cmd-box in Win2K Server ? Do you know any relatet threads, articles, sites etc which deal with this problem ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]