Network question

  • Thread starter Thread starter Adrian
  • Start date Start date
A

Adrian

In a network I have a W98 PC that I want to close down from another PC in
the network. I have found out that the following command will close down the
W98 PC:

rundll32 krnl386.exe,exitkernel

How do I close down the W98 using that command in C# code from another
(non-W98) PC (specifically an XP or a Vista) in the network?

Could someone please come up with a suggestion?
Many thanks,
Adrian.
 
Adrian,

You will have to have a process on the W98 machine which will wait for a
signal from your other machine to shut down. When the process on the W98
receives the signal (through remoting, or some other inter-machine
communication), it will execute a process with the command line that you
posted originally.
 
Nicholas Paldino said:
Adrian,

You will have to have a process on the W98 machine which will wait for
a signal from your other machine to shut down. When the process on the
W98 receives the signal (through remoting, or some other inter-machine
communication), it will execute a process with the command line that you
posted originally.

Thank you Nicholas.
Adrian.
 
Back
Top