Sorry, as I mentioned, the problem isn't the script output... It used to run exactly like this on Vista...
The console window pops up when the script is run, the actual output (if any) is show far back in the script execution... Even if there's no output from the script the black and empty console window is still shown...