Catching Dos console output from within Java Class
From: IchBin (weconsul_at_ptd.net)
Date: 02/28/05
- Next message: John: "Struts - servlet level cache with expiration"
- Previous message: Sander Rensen: "Keyword synchronized"
- Next in thread: Hugo Pragt: "Re: Catching Dos console output from within Java Class"
- Reply: Hugo Pragt: "Re: Catching Dos console output from within Java Class"
- Reply: Lothar Kimmeringer: "Re: Catching Dos console output from within Java Class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 04:38:55 -0500
Is it possible to not just to issue a Dos cmd from a java class but more
importantly encapsulate the Dos output back into a buffer that java can
use..? Not just pipe the Dos command to a dos file and then reading that
file. I am running under Windows XP SP 2. Reason: So I could say display
a running status of a NetStat command I want to monitor.
Sorry just never tried it.
-- Thanks in Advance... IchBin __________________________________________________________________________ 'The meeting of two personalities is like the contact of two chemical substances: if there is any reaction, both are transformed.' - Carl Gustav Jung, (1875-1961), psychiatrist and psychologist
- Next message: John: "Struts - servlet level cache with expiration"
- Previous message: Sander Rensen: "Keyword synchronized"
- Next in thread: Hugo Pragt: "Re: Catching Dos console output from within Java Class"
- Reply: Hugo Pragt: "Re: Catching Dos console output from within Java Class"
- Reply: Lothar Kimmeringer: "Re: Catching Dos console output from within Java Class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|