Flash of inspiration - AVG Antivirus was somehow blocking the output! (Actually stopping cmd.exe.) All now sorted.