I'm looking for a way to remotely launch files on a host machine through a telnet or a socket connection. I just want to launch basic media files like .MP3s, .AVIs, .PNGs, etc... and rely on Windows file type associations to launch files with the correct program (VLC, iTunes, Picture Viewer, Media Player, etc...). I'm wondering if AutoIT has a way to do this?
Would it be possible to build a quick .exe that could be ran at the telnet cmdline like:
remote.exe c:\media\mediafile.avi
This would then launch mediafile.avi on the host machine. I'll be using this on an HTPC for a home automation remote. If so, can someone point me in the right direction on which functions would be able to accomplish this task? Or if anyone has another idea I'm open to suggestions. Any help is much appreciated!