Not compiling but Windows ships with VBScript, JS, and Powershell, all with the ability to interface with the OS. I used VBScript for the first time a while ago to make a step in a batch process and it was pretty convenient.
All the other methods encourage bloat.