Saving CLI log file.

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
jesaf00
Posts: 41
Joined: Mon Mar 26, 2007 7:12 pm

Saving CLI log file.

Post by jesaf00 » Mon May 18, 2009 8:16 pm

I am using the windows CLI with a batch script. How can I save or export the log file?

User avatar
Rodeo
HandBrake Team
Posts: 12205
Joined: Tue Mar 03, 2009 8:55 pm

Re: Saving CLI log file.

Post by Rodeo » Mon May 18, 2009 8:43 pm

This is not a HandBrake question.

Anyway, I found this through Google:

Introduction to the Windows Command Prompt

jesaf00
Posts: 41
Joined: Mon Mar 26, 2007 7:12 pm

Re: Saving CLI log file.

Post by jesaf00 » Mon May 18, 2009 8:50 pm

I am actually looking for the handbrake log file. Thanks for the reply.

User avatar
s55
HandBrake Team
Posts: 9544
Joined: Sun Dec 24, 2006 1:05 pm

Re: Saving CLI log file.

Post by s55 » Mon May 18, 2009 9:29 pm

um, The CLI doesn't produce a log file. It only displays the output on screen. If you want one you've got to use pipes which is a standard feature of the command prompt that works with any app outputting to standard output or standard error.

jesaf00
Posts: 41
Joined: Mon Mar 26, 2007 7:12 pm

Re: Saving CLI log file.

Post by jesaf00 » Tue Jun 02, 2009 8:55 pm

Thanks, I think I got it. Any way to format it? it is rust a running mess.

jfnewell
Posts: 4
Joined: Fri Aug 28, 2009 6:19 pm

Re: Saving CLI log file.

Post by jfnewell » Fri Aug 28, 2009 6:36 pm

put this at the end of your command line for running handbrake.

replace path with your real path you want the file.

> path\handbrake.txt

some basic advice would be that it will be streaming so you cannot open it while the batch is running. But you can open it with excel while its running and then specify to open with read-only access. you won't see it streaming, but you can see what is in there up to the point you opened it.

Post Reply