Get error message from Command prompt
- From: christopher_board@xxxxxxxxxxx
- Date: Wed, 24 Oct 2007 14:48:32 -0700
Hi all.
I am currently trying to develop a java applicatio that will enable me
to shutdown or restart computers remotely. I am doing this by using
the command prompt code in order to perform the shutdown. For example
I am using shutdown -m \\computer name -r -f -t 30.
When I run this code in the command prompt and the computer cannot be
found on the network it comes up with a message saying that the
network path was not found. How can I read in the error message that
the command prompt provides from within my Java Application.
Any help in this matter would be highly appreciated.
Thank you
.
- Follow-Ups:
- Re: Get error message from Command prompt
- From: Nigel Wade
- Re: Get error message from Command prompt
- From: Roedy Green
- Re: Get error message from Command prompt
- From: Andrew Thompson
- Re: Get error message from Command prompt
- Prev by Date: Re: Newbie question re linked list
- Next by Date: Re: Get error message from Command prompt
- Previous by thread: JVM error (from JDeveloper)
- Next by thread: Re: Get error message from Command prompt
- Index(es):
Relevant Pages
|
|