Before running your script run the following command from command line,
The default scripting engine for Windows 2000 and onwards is WScript. To change the default scripting engine from WScript to CScript, type the following line:
cscript //h:cscript //s
here is a link for more info: HERE
this should help you see the result on the console window.