How to send a Skype message from the Windows command line?

Similar to the Skype4Py comment, I would recommend Skype4COM. You'd still need to write the script yourself but there are some examples out there already that show similar things. It's also officially supported by Skype.