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
Deleted User 792

Saving CLI log file.

Post by Deleted User 792 »

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

Re: Saving CLI log file.

Post by Deleted User 11865 »

This is not a HandBrake question.

Anyway, I found this through Google:

Introduction to the Windows Command Prompt
Deleted User 792

Re: Saving CLI log file.

Post by Deleted User 792 »

I am actually looking for the handbrake log file. Thanks for the reply.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Saving CLI log file.

Post by s55 »

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.
Deleted User 792

Re: Saving CLI log file.

Post by Deleted User 792 »

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 »

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