Home » Questions » Computers [ Ask a new question ]

execute program on port connect to windows

execute program on port connect to windows

is there a program that listens to a specific port and executes an arbitrary executeable on incoming connection to that port?

Asked by: Guest | Views: 148
Total answers/comments: 1
Guest [Entry]

"If you need a simple way just to launch iTunes remotely, you can use psexec. The command line you would be interested in would be:

psexec \\computername -i -d -u YourUserName -p YourPassword ""C:\Program Files\iTunes\iTunes.exe""

-i : Run this program so it can be seen on the desktop.
-d : Exit psexec once the program has been launched.
-p : If you omit this, it will prompt for your password instead
of typing it in the clear or storing it in a batch file."