It is true that I'm running my batch file on a server, but really I don't think it's server-side code that we're talking about, b/c I'm just running myFile.bat to perform a whole bunch of file operations, and in the middle of them I want to call a myScript.js to make sure that a file exists, and if it doesn't then I'd like to alert myself somehow (preferably with something that mails me an email message the way that mailto does in Unix). It seems like what I'm doing would be the same no matter what--server or client machine--because I'm running it for local stuff.
And yes, I meant JScript as in Microsoft's stuff. Apparently, I can call a anything.js file from a batch file since it's supported by Microsoft as one of 2 or 3 scripting languages that can be called for Windows purposes.
Honestly, I'm just a
Java guy who's trying to figure out how to script this stuff in here, and JScript looked like a likely option, but I'm not finding it so easy to figure out...