i could get the processes running on a local machine using CreateToolHelp32snapshot.


I thought if i run this API on the remote by execting an exe( the exe will
get the list of processes running on local machine) it will solve my problem.


if this is the right way of proceeding, how do i run a "command" on the
remote.

something similar to rcmd in unix should be there on windows2K too.

Please mail me the answer asap.

thanks in advance.