Windows does not support any scripting language and if there is some complex things need to be done your best options are Perl or C/C++ and for some simple jobs batch file.