Search found 2 matches

by fatejd
2011-02-01T15:18:55-07:00
Forum: Users
Topic: How to write command line output to text file?
Replies: 13
Views: 35097

Re: How to write command line output to text file?

Thanks for the reply.

Of course, shortly after I posted this I figured out a way to do this, with a variable as well:

Code: Select all

FOR /F %%A in ('compare -metric AE %currTest%.png %fileName%.png %fileName%_DIFF.png 2^>^&1') DO set pixelDiff=%%A
by fatejd
2011-02-01T12:46:48-07:00
Forum: Users
Topic: How to write command line output to text file?
Replies: 13
Views: 35097

How to write command line output to text file?

Hi - I'm somewhat new to command line scripting (Windows XP), and am now stumped about how to get the results of an IM command and write it to a text file. I'm comparing images and would like to get the output (number of pixels that are different) and write it to a text file. Or, better yet, get the ...