You could use a batch file to just run the netcat executable itself.

or

You can write a program in C++ that essentially opens a waiting connection on port # whatever, and delivers a prompt when i connection is made. packetstormsecurity has a bunch of remote root exploits which work as such.

Poke around there and learn a little.