so... if you want to start a batch file running on your system, you can download netcat, and say nc -Lp1212 -e yourbatch.bat
the -L means listen, and on windows means listen repeatedly, but you might wanna use -l on Linux. the p1212 means listen on port 1212, the post i often use. the -e means execute apon connection, and the yourbatch.bat is the file to execute.