use "net send (machine name or IP) message"
thats only if both have netbios installed and the port 139 open.