Marco Gaiarin schrieb: > For that i say 'seems that my wrapper does not connect STDIO', because > cscript-executed script produce no output at all. Well, you could try to understand cryptic examples on MSDN: http://msdn2.microsoft.com/en-us/library/cbxxzwb5.aspx http://msdn2.microsoft.com/en-us/library/ye284tb8.aspx A short form here: var WshShell = new ActiveXObject("WScript.Shell"); var oExec = WshShell.Exec("cscript wpkg.js /help"); output = "" while (!oExec.StdOut.AtEndOfStream) { output += oExec.StdOut.Read(1) } WScript.Echo(output) -- Tomasz Chmielewski http://wpkg.org _______________________________________________ wpkg-users mailing list wpkg-users at lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users |