Xiaojing,

The API you're looking for is java.lang.Runtime. However, my personal advice would be to use OS-dependent calls sparingly - it makes your application platform dependent and typically makes it a lot less portable...


Cheers,


- Johan

---
  Johan Krisar
  johan.krisar(at)depicta.com

-----

At 11:41 2003-08-15 +0800, Cui Xiaojing-a13339 wrote:
Hello All,

Do you know if windows' command could be executed in Java method? If yes, which API class method can be used to do it? Thanks a lot.

Regards,
Xiaojing

Reply via email to