Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Oct 29, 2008 10:21 AM by
How to excute commands in DOS ?
Oct 29, 2008 3:14 AM
I want to execute DOS commands like "shutdown -i" in my Java application but I'm not able to get it done.
I've used the method as follows but it does not work(does not throw any exceptions as well):
Process child=Runtime.getRuntime().exec("shutdown -i");
Also plz. shed some light on how to execute commands with multiple parameters like:
attrib -s -h -r "*.*" /s /d
This content has been marked as final.
Show 1 reply
Re: How to excute commands in DOS ?
Oct 29, 2008 10:21 AM
in response to
This forum is for info on helping make Java accessible to people with disabilities. I fear you won't get an answer to your question via this forum. I recommend you post your question to a different forum, such as the "Java Programming" forum