opensubscriber
   Find in this group all groups
 
Unknown more information…

w : wpkg-users@lists.wpkg.org 26 October 2011 • 8:44PM -0400

Re: [wpkg-users] How to redirect output of wpkg.js to a file?
by Stefan Pendl

REPLY TO AUTHOR
 
REPLY TO GROUP




>
> 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

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@list...
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.