34
3
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 it possible to disable this output (that is, I don't want anything to be printed)?
2What is the colon for? – Peter Mortensen – 2015-10-20T23:01:26.240
4@PeterMortensen: In DOS and Windows console, reserved device names such as
NUL
can be followed by an optional colon. As far as I know, it performs no actual function, but serves as a visual reminder that it's a device and parallels the use of a colon after a drive letter. – Paused until further notice. – 2015-10-20T23:14:52.713