| Author |
How to run a batch file
|
Pradeep Kumar
Ranch Hand
Joined: Sep 11, 2007
Posts: 77
|
|
Hi all, Can someone help me out with the ant command to run a batch file or an exe command. Thanks and Regards, Pradeep Kumar
|
SCJP 1.6
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
http://ant.apache.org/faq.html#batch-shell-execute Note that on older windows system, or non-standard installations, the command might be different from "cmd". Which command shell is used by the windows system by default is recorded in the ComSpec environment variable, so you might want to use that instead of the hardcoded "cmd".
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
Chetan Sachdev
Greenhorn
Joined: May 13, 2008
Posts: 1
|
|
Thanks That solution worked for me.
|
 |
 |
|
|
subject: How to run a batch file
|
|
|