Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip fi...



The question of whether you can zip a file using only Windows built-in capabilities is a common one, and the answer is yes. Windows has a built-in zipping utility called the Compressed Folders feature which can be used to compress files.

The Compressed Folders feature is a native Windows utility that can be used to compress a file or a group of files and folders into a single compressed folder. The compressed folder can then be used like any other folder, in that it can be moved, copied, or deleted just like any other folder. The advantage of compressing a file or a group of files is that the compressed folder will take up less space, thus reducing the storage requirement.

To use the Compressed Folders feature, simply right-click on the file or group of files and folders that you wish to compress and select “Send To” and then “Compressed (zipped) folder”. This will create a new compressed folder that contains the files or folders that were selected. The new compressed folder will be given a .zip file extension, and can be opened and used just like any other folder.

In addition to the Compressed Folders feature, Windows also has a command line utility called “compress.exe” which can be used to zip a file or a group of files. To use the compress.exe command, open the command prompt and enter the following command:

compress -r

Where is the name of the file or group of files that you wish to compress. This will create a new compressed folder that contains the files or folders that were specified.

The Compressed Folders feature and the compress.exe command line utility offer two different ways to compress files and folders in Windows. Both methods are useful for reducing the size of files and folders, thus reducing storage requirements. They can also be used to compress files for emailing or for archiving.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo