I thought for some simple tests that just run a few commands i would try using some JavaScript and run it from the command line in Windows XP.
So for a quick test I crea
Try a named function replace since WSH does not support the window.alert method.
if (!alert) alert = function foo(s){WScript.Echo(s)} alert("hello world");