>hello ,
>I am writting an application which needs to be able to remotely shutdown,logoff or start any PC on our LAN. Its windows 2000 network and I know of some windows scripts which I could use however I want to do the whole thing in VFP.
>
>I want to be able to issue a command with the PC's name and then logoff user or shutdown.
>
>Does any one have any idea's on how best to tackle the problem.
>
>Thanks for your help.
>
>James Macintyre
Just to get you going with the start any PC part:
http://en.wikipedia.org/wiki/Wake-on-LANCarlos