Handling "Press any key to continue..."?
- From: Izak van Langevelde <eezacque@xxxxxxxxx>
- Date: Thu, 30 Jun 2005 01:43:42 +0200
My java program executes an old DOS program for file conversion, which
is called by something like Runtime().getRuntime().exe("convert infile
outfile").
However, the 'convert' program asks its user to 'Press any key to
continue..." My first guess was to just write any character to the
process' InputStream, but this doesn't work; this is not specific for
java, as something like "convert infile outfile < anyKeyFile" doesn't
work from a DOS box either. Any clue how to simulate the pressing of any
key here?
--
Grinnikend door het leven...
.
- Follow-Ups:
- Re: Handling "Press any key to continue..."?
- From: Bent C Dalager
- Re: Handling "Press any key to continue..."?
- From: Remi Arntzen
- Re: Handling "Press any key to continue..."?
- Prev by Date: Re: I need a command line in Windows NT
- Next by Date: Re: web start jnlp offline
- Previous by thread: web start jnlp offline
- Next by thread: Re: Handling "Press any key to continue..."?
- Index(es):
Relevant Pages
|