开发者

Execute Program Without Clicking

Is there a way for a program to be executed without clicking on it? Is it possible for it to be executed the minute you receive the file?

I want to build a c# application that executes any file sent to the machine from another machine connected to it. I want to do this without remote desktop, so I would check a checkbox that says "execute when finished sending" and when it is received, it would execute the program. So I would ess开发者_StackOverflow中文版entially be able to remote desktop, without actually remote desktoping.

Thanks in advance


Do you realize what you are proposing? If this was possible, every machine out there would be infested with the nastiest viruses.

Why don't you build a server part that you leave running on your remote machine and then have it execute whatever your heart pleases.


There is a program out there (currently in Beta) called SkyNet that does this. You can drag and drop a URL or file onto one of your "Contacts" and (for a URL) it will open an new tab and navigate to that site on your friend's computer. For files, it automatically drops them on that person's desktop.

So it is definitely possible.


Perhaps you want to use secure shell. There are clients and servers for various platforms (you didn't specify) and you can run programs remotely. This is useful for e.g. automated testing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜