Right-click the file and select Compress "Cbaoddq.txt" .

Open TextEdit , type your content, go to File > Save , and choose Plain Text (.txt) as the format.

Use the command zip Cbaoddq.zip Cbaoddq.txt . 3. Creating a ZIP via Code (For Developers)

Right-click in a folder or on your desktop, select New , and then click Text Document . Name it Cbaoddq.txt .

Use a notes app or a file manager like the ZArchiver app on Android to create a new file. 2. Create the ZIP File

Use System.IO.Compression.ZipArchive to create the file and return it to a user for download.