Run the following command in your terminal (Linux/macOS) or Command Prompt (Windows): 7z a -m0=lzma2 -ms=on p611.7z .txt Use code with caution. Copied to clipboard a : Add files to an archive.
the text file(s) you want to include in Windows Explorer. p611.7z
-m0=lzma2 : Uses the compression method (default, highly efficient). -ms=on : Enables Solid archiving (default for 7z). p611.7z : The name of the resulting archive. .txt : The source text file. Steps for 7-Zip GUI (Windows) Run the following command in your terminal (Linux/macOS)