[wpkg-users] How to redirect output of wpkg.js to a file?
Stefan Pendl
stefan.pendl.71 at gmail.com
Wed Oct 26 14:44:27 CEST 2011
>
> I would like to save the output of cscript wpkg.js /synchronize to a file. But the simple command
> cscript wpkg.js .... > log.log
> doesn't work. What's the best method to achieve this?
>
I think wpkg.js is sending its output to StdError so you need to redirect that too.
Example:
cscript.exe -NoLogo wpkg.js /synchronize >log.log 2>&1
In addition wpkg.js creates its own log file, witch is saved to %TMP%, so I doubt you will get any output at all.
---
Stefan
More information about the wpkg-users
mailing list