ultrasmad 0 Report post Posted June 20, 2004 How do you send a dos command from a java class? Share this post Link to post Share on other sites
err 0 Report post Posted September 16, 2004 means that the server is windows, doesn it?very complicated man.. :Pat windows it self, there are different syntax for diifferent version. dos is not used anymore at w2k and later. Share this post Link to post Share on other sites
runix 0 Report post Posted September 19, 2004 You can launch "dos commands" from Java through theRuntime.exec() file:///C:/j2sdk141/docs/api/java/lang/Process.html Share this post Link to post Share on other sites
runix 0 Report post Posted September 19, 2004 Ops wrong addressthat was to my local copyhttp://forums.xisto.com/no_longer_exists/ Share this post Link to post Share on other sites
Zenchi 0 Report post Posted September 19, 2004 Launching a dos command via java can very well include malicious code. I implore you, if anyone attempts to use malicious coding on their Xisto.com hosted space, their hosting will be taken away and the consequences dealt justly.On a lighter note, I believe this is how Runescape used to run, and how RuneBots currently operate. (Some of them) Share this post Link to post Share on other sites
eldeo 0 Report post Posted October 10, 2004 You can use Runtime.exec() methodIf you have any problems with this look at page:http://www.javaworld.com/You can find there everything about errors, when you use Runtime.exec()--eldeo Share this post Link to post Share on other sites