开发者

How to run .exe binary of a remote server on the remote server from a c++ application in windows platform

开发者 https://www.devze.com 2022-12-20 03:49 出处:网络
What are the ways to run.exe 开发者_如何学JAVAbinary of a remote server on the remote server from a c++ application in windows platform??Open a telnet session to the server, start binary.open a telnet

What are the ways to run .exe 开发者_如何学JAVAbinary of a remote server on the remote server from a c++ application in windows platform??


Open a telnet session to the server, start binary.


open a telnet session (like MSalters suggests), or write a small server app that will run on the remote server, and listen for your its mother application's request to run that ".exe binary".


What you are doing sounds exactly like what psexec already does. So you could either shell out to that or re-implement how it works. There are some descriptions of what it actually does:

http://windowsitpro.com/article/articleid/42919/psexec.html (I believe I read this in the past, but it's behind a paywall now)

http://www.ntkernel.com/w&p.php?id=15

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号