I use 7-zip to compress files inside a batch file like this:

...\right_path\7z a output_file_name.zip file_to_be_compressed

I got the following output:

7-Zip 4.65  Copyright (c) 1999-2009 Igor Pavlov  2009-02-03
Scanning

Creating archive output_file_name.zip

Compressing  file_to_be_compressed

Everything is Ok

Is that possible to disable this output (i.e. I don't want anything to be printed) ?

link|improve this question

feedback

1 Answer

up vote 6 down vote accepted

Just add > NUL: to the end of your command.

link|improve this answer
Great, thanks !! – Misha Moroshko Oct 1 '10 at 4:41
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.