Sending commands to multiple command prompt windows.

I

Iain

Hey,

I have a set of 10 console applications running in command prompt
windows. To shutdown each of these applications I have to type
'shutdown' into each of the windows in turn. Does anyone know of any
way, which would ideally also work under Windows NT, which I can
automatically send the shutdown command to each of these windows.

To summarise, I would like a way of emulating selecting a window,
typing in a command and pressing return. To make things slightly
trickier, this also needs to be done without running any third-party
applications.

Thanks in advance,
Iain.
 
B

billious

Iain said:
Hey,

I have a set of 10 console applications running in command prompt
windows. To shutdown each of these applications I have to type
'shutdown' into each of the windows in turn. Does anyone know of any
way, which would ideally also work under Windows NT, which I can
automatically send the shutdown command to each of these windows.

To summarise, I would like a way of emulating selecting a window,
typing in a command and pressing return. To make things slightly
trickier, this also needs to be done without running any third-party
applications.

Thanks in advance,
Iain.

Perhaps the commands TLIST and KILL may be of use. Try

TLIST/?
or
KILL/?

from the prompt.

Or try newsgroup alt.msdos.batch.nt

HTH

....Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top