First I get the OS using properties.Then I want to invoke ping base on the OS I got.How to do it? Some API?
To be or not to be. It's a question.
Joined: Jan 28, 2005
Yeah! I've got it.It's Runtime! Now another question.When I want to invoke telnet,not like the ping ,I can achive that like this Runtime.getRuntime().exec("cmd.exe /c start ping 192.168.1.1").For the telnet,first telnet,then input username, pwd.How to do this?I got the username pwd from my GUI.