Net send is a windows messaging client; most people disable it as it's quite annoying and pointless...
Your bat script is basically reading in what a user sends and formats it, then displays it for you... It's quite basic and will only work where net send isn't disabled (and to where it isn't disabled)