How to delete zip files on pc or mac

Step 2: Right click on “Local Disk” It should be named that if it is not on your system then just right click on the drive lettered C: And then click properties.

Step 3: Under properties click the Tools tab and run disk check its called “Check”

This will run and automatically fix and delete files that are corrupt and will not delete off the file system.

You will have to restart the PC to complete this.

Report abuse

17 people found this reply helpful

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Report abuse

3 people found this reply helpful

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Ok well then lets try this;

On windows when you upgrade to a newer version it puts the old version in a windows folder called

“windows.old” were disk clean up can delete it.

So with that we can use that to delete your zip file.

Go to C: > Create a folder called “windows.old” Cut and past the zip file in that folder.

Run disk clean up as an admin; and select “previous windows installation” that should take of that zip file.

As long as you can move it in the folder.

Report abuse

1 person found this reply helpful

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Tried to move files and they will not move. I now find any video file cannot be deleted.

Things have got worse, I now cannot delete any video or image file, have tried a large number of suggestions so it looks as if I will have to backup every file and go back to Windows 7 and then reload everything.

Report abuse

1 person found this reply helpful

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Well you can try to run

Sfc /scannow in command prompt

That will scan and fix corrupt files it might or might not help.

Before you go back to win7 and then back to 10; I would recommend you to call MS Tech Support and see if they can help.

Usually if forums don’t help they can because they can take remote desktop and fix stuff.

Report abuse

1 person found this reply helpful

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Tried to move files and they will not move. I now find any video file cannot be deleted.

Things have got worse, I now cannot delete any video or image file, have tried a large number of suggestions so it looks as if I will have to backup every file and go back to Windows 7 and then reload everything.

Check the Properties of the Videos Folder, it sounds as if they have somehow become set to ‘Read Only’.

Report abuse

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi, I checked and you are right, every single file and folder had become “Read Only” spent some time resetting permissions and changing setting and then found that the files had gone back to “read only” again but at least I managed to delete all the old files I needed to. It sounds as if there is either some setting within Windows 10 that resets these settings, or some form of bug.

Anyway thanks to all who have responded to help me get going again.

Maybe its time to change to a Mac.

Report abuse

1 person found this reply helpful

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

When these folder permission changes occur it can usually be tracked back to some over aggressive behaviour by some, third party, system security software. It maybe that, if you are running a non-Microsoft Firewall or Anti-Virur/Anti-Malware program that constantly monitors the system, that it is responding to Windows System Updates or even Windows Store Updates as if they were malware attacks. Check for any updates to such programs and/or check for any necessary changes to permissions within those programs. Usually, consulting the User Forums for the particular products will tell you whether other users have experienced similar issues.

Macs can also be overly aggressive about software installations/updates if you use software which doesn’t come from its own Store or comes from Developers who haven’t paid to be registered as a ‘known’ Developer. Apple also does its best to dissuade/make it difficult for users to install whatever It considers to be ‘unapproved/unsafe’ software, including Java and Flash.

How to delete zip files on pc or mac

Zipping files on Apple/Mac is a chore because of all the hidden files and folders added by macOS. Like .DS_Store and __MACOSX are two of the most common files and folders that are added to zip files when compressed on macOS.

The folder named __MACOSX especially is problematic because it contains duplicates of every file in the zip archive. So for example, if you use Finder to compress 20 files, the resulting zip file will contain the original 20 files, plus an additional 20 files all hidden under the /__MACOSX/ folder.

It’s a real pain and can be confusing to deal with because when you unzip the files on a Mac, the hidden files and folders are not included in the unzipped files. So you won’t be able to view them, even after you enable display of hidden files. The only way to view all the hidden files/folders is to open the zip file on a non-Mac machine, like PC/Windows or Linux.

Hidden Files

Here are some screenshots showing the hidden files and folders that are included for any folder compressed (zipped) on macOS. First screenshot shows the hidden __MACOSX directory, which is visible on PC when you open the zip file.

How to delete zip files on pc or mac On PC/Win the hidden files (like __MACOSX) are visible

The next screenshot shows the set of duplicate files and folders that are included in zip files compressed on macOS. Notice the file names, each begin with a dot . , which makes the files hidden by default on most systems.

How to delete zip files on pc or mac Mac includes hidden duplicates of every compressed file (viewed on PC)

Now compare those previous screenshots (taken on PC) with the following screenshot (taken on Mac). Even with “show hidden files” enabled, the hidden __MACOSX folder and all the hidden files are not included (i.e., they do not exist hidden or otherwise) in the unzipped archive.

How to delete zip files on pc or mac Mac excludes all hidden macOS files when opening zip archives (view hidden files enabled)

So again, all the hidden files/folders added by Mac are included in the unzipped files ONLY when the files are unzipped on non-Mac machines. Thus the confusion: Why on earth are the hidden files added in the first place? They are completely excluded when unzipping on Mac, and never needed for any reason on any other machine. In fact quite the opposite: the hidden files serve NO purpose other than to waste bandwidth, time, energy, resources, etc.

Why does macOS include hidden files in zip archives? It makes absolutely zero sense.

Real Problems

This is a real problem because many people use Mac to zip files to share on the Web. Problem is that not everyone uses a Mac. So anyone downloading your zip files on their Windows, Linux, or other non-Mac is going to see all those hidden files and folders. Which are utterly useless to non-Mac devices and users.

Further, by adding a duplicate set of hidden files to the zip archive, Mac essentially is doubling the size of the download zip file, which of course wastes bandwidth, disk space, and everything else. May not be a huge deal for smaller zip files, but we’re talking about potentially millions or billions of zip files downloaded every day, needlessly bloated with useless data.

Real Solutions

Fortunately, all the hidden garbage is not needed on any machine — including Mac — so it’s all 100% totally safe to delete. So regardless of which machine/OS you are using, you can safely delete __MACOSX and .DS_Store from any zip archive. The files literally are useless. Read on to learn some different techniques for removing the __MACOSX and .DS_Store from ZIP Files on macOS.

Use software to exclude hidden files from NEW zip archives

For new files, you can use an app such as YemuZip or any free alternative to zip compress new files without any hidden junk.

I don’t know of any apps that can retroactively remove hidden files/folders from existing zip files. If you know of any, drop a comment or send via contact form.

How to delete zip files on pc or mac Use an app like YemuZip or free alternative to compress/zip without any hidden files

Use command line to exclude hidden files from NEW zip archives

On Mac you can use Terminal to easily remove all of the hidden files/folders from existing zip files. Here are some techniques that I use for my own projects.

When creating new ZIP archives, you can use the zip command to compress/zip files without any hidden files like .DS_Store and __MACOSX . Here are the steps:

  1. Open the Terminal app
  2. Navigate to the folder that contains the files you want to zip
  3. Type or paste the following command into Terminal*:
  4. Press Enter to execute and done.

The resulting zip archive will be named data.zip and located in the same directory as the original uncompressed files. The data.zip archive will not include any __MACOSX or “dot-hidden” files (i.e., file names that begin with a literal dot).

*Important: The above command will remove all dot-hidden files, including files like .htaccess and other common/useful files. So if you want to keep some hidden files and only remove the ones added by macOS, use this command instead:

Example

To give this a real-world example. Let’s say you have a folder on your desktop called Folder that includes a bunch of files that you want to zip/compress.

First, open terminal and write following commands:

Now you have a file called data.zip on your desktop that does not include any __MACOSX or .DS_Store files. I.e., a nice clean zip file with no hidden garbage.

Use command line to remove hidden files from EXISTING zip archives

The above techniques show how to exclude hidden files when creating new zip archives. But what if you want to remove hidden files from an existing zip archive? Easy. In Terminal, navigate to the directory that contains your zip file and enter the following two commands:

And/or if you have multiple zip archives in some folder, and want to remove all hidden macOS files from all of them in bulk. Use Terminal to navigate to the folder and enter the following commands:

I use this technique for zip files I serve here at Perishable Press and elsewhere.

For a “quieter” Terminal experience, you can add the q (quiet) or qq (quieter) parameter to the previous bulk-delete command:

I extracted a zip file, but found that I cannot delete the extracted folders afterwards. Including the actual file folder and the __MACOSX folder.

If I shift-delete these files, nothing happens. If I try to delete them normally, I get an error message that says

“Could not find this item. This is no longer located in C. “

My friend is on MacOS, not sure which version, while I’m running Windows 10 on NTFS.

How can I force delete these folders?

3 Answers 3

Found the solution myself:

  1. Open a command prompt from the lowest-level child directory
  2. Enter “dir /x” to see the content
  3. Manually delete the files/folders using the 8.3 file names
  4. Repeat as necessary until the parent directory can be deleted as well

First make sure all directories and folders are no longer opened that might be associated with what you are looking to delete. If you have a window open or a terminal screen open that is associated with the files you wish to delete, it will not let you delete it because those items might have a lock on the items you wish to delete. Now open a terminal window and go to the folder that contains what you wish to delete. Now use the following command to delete the folder you want to remove. ‘chmod 775 MyDirectory’ and then ‘rm -rf MyDirectory’ The first command ensures that you have rights to the directory. The second command will force your directory to be deleted and all of its contents to be deleted. Of course MyDirectory is the directory you are looking to delete in this example. This is assuming two things. You have an administrator account and/or have the ability to change the rights on a folder. And all locks on this directory are removed. It may help to reboot in order to ensure nothing has a lock on the directory first before starting this process.

Hope this helps

How to delete zip files on pc or mac

i found a simple way to do it. if you have WinZip or WinRar just make that folder into zip or rar, but make sure that you set the folder to be automatically deleted after archiving. after that just delete the compressed folder.

Zipped (compressed) files take up less storage space and can be transferred to other computers more quickly than uncompressed files. In Windows, you work with zipped files and folders in the same way that you work with uncompressed files and folders.

Why are my ZIP files archive?

As mentioned above, the files archived in a Zip file are usually, but not always, compressed. This saves space and also makes it easier to send them as email attachments. Zip files are also convenient for grouping data files.

Is zip same as archive?

Key Difference: ZIP is a format used to compress and archive a file. Whereas, archive is the process where one or more computer files along with the metadata are composed to make a single file.

Why is my file not downloading as a zip?

It may be caused by settings on the server where the file is stored. Also, downloading with Internet Explorer may be one of the factors in the issue. If this Zip file download has not been set with the correct mime-type specification (octet-stream) to denote that it is a binary file this issue may occur.

What is a ZIP archive folder?

Zipped folder. Compressed folder. Zipped archive. Zipped files (known by many names, see the table to the right, but in this document called “zipped files”) are one or more files on a computer disk that have been combined into a single file in a space-efficient manner to reduce their total file size.

Can I delete ZIP archive files?

zip file remains, and the contents are extracted in the same directory, or wherever you choose. You typically don’t need to keep . zip files once they’ve been extracted, so delete them to recover the storage space.

What does it mean when a file is archived?

An archive is a collection of data moved to a repository for long-term retention, to be kept separate for compliance reasons or for moving off primary storage media. It can include a simple list of files or files organized under a directory or catalog structure, depending on how a particular program supports archiving.

What is a ZIP file and why are they used?

ZIP is a common file format that’s used to compress one or more files together into a single location. This reduces file size and makes it easier to transport or store. ZIP files work in much the same way as a standard folder on your computer. They contain data and files together in one place.

What is an archive download?

This simply means that it’s been flagged as needing to be backed up, or archived. Most of the files we encounter in normal computer use will likely have the archive attribute turned on, like the image you downloaded from your digital camera, the PDF file you just downloaded run-of-the-mill files like that.

Does zipping files reduce quality?

WinZip compression is lossless. When you extract the files in a Zip file created by WinZip, the result will be exact, byte for byte duplicates of the original files. There is no loss of fidelity, no loss of image quality, and no change in data associated with zipping or unzipping.

How do I download a zip file without Google Drive?

How to Download Files From Google Drive Without Zipping? Log in to your Google Drive. Click on “New” and select “Folder.” Name your folder how you want and click “CREATE.” While holding the Ctrl key, select files you want to download without zipping.

Why does Google Drive download fail?

In general, when the Google Drive download failed network error occurs, it may be caused by the blocking of the antivirus software. So, at first, you need to unblock the download on antivirus software. After that, you can download the file again and check whether the failed – network error is solved.

Why can’t I download a zip file on my Mac?

If you’re using a Mac with Safari, your zip files will automatically be unzipped. To avoid this you’ll need to adjust your Safari Preferences: Under the General tab, uncheck the option ‘Open “safe” files after downloading’.

How do I convert ZIP files to unzip?

Do one of the following: To unzip a single file or folder, open the zipped folder, then drag the file or folder from the zipped folder to a new location. To unzip all the contents of the zipped folder, press and hold (or right-click) the folder, select Extract All, and then follow the instructions.

How much space does a ZIP file save?

What Is File Compression? File compression reduces the size of the file as much as 90%, without losing any of the primary data. Compressing a file is also known as zipping.

How do you unzip a zip file on a PC?

Open File Explorer and find the zipped folder. To unzip the entire folder, right-click to select Extract All, and then follow the instructions. To unzip a single file or folder, double-click the zipped folder to open it. Then, drag or copy the item from the zipped folder to a new location.

Can I delete zip files from Download folder?

Yes, you can delete the file if you do not need an other copy. The . zip file will contain your file within it.

What happens if you extract a ZIP file?

Extract/Unzip Zipped Files When you extract files from a zipped folder, a new folder with the same name is created which contains the files. The compressed (zipped) version also remains.

What is the purpose of the archive a file attribute?

The archive attribute or bit, is a Windows file attribute that when is set, it indicates that the file has changed since the last backup operation. The backup software then clears up that value after a successful backup.

Why are the archives important?

Archives are important because they provide evidence of activities and tell us more about individuals and institutions. They tell stories. They also increase our sense of identity and understanding of cultures.

Why do we need to archive files?

The key reason to archive your documents is to avoid losing data. All documents are vulnerable to being destroyed or corrupted (if digital), either maliciously, by accident, or by a natural disaster, such as a flood or fire. Electronic documents can be compromised by: security threats.

Is PDF a zip file?

Using PDF software instead of ZIP While PDF software doesn’t compress files the way the zip format does, it does provide an alternative to packaging multiple files for transfer. Acting as an envelope, the PDF document can have files attached to it in one of two ways.

Where do compressed files go?

Once compressed into the file, the files contained within take up less space on a hard drive than they would if they were all still extracted. You can find any compressed or zipped folder on your computer by digging around with Windows’ search function.

How to delete zip files on pc or mac

One of the most common problems that arises when attempting to clean out your system is a file’s unwillingness to be deleted. This can be caused by a number of factors, including file or folder restrictions, system incompatibility, a computer virus, or third-party access to the file on a shared computer. If you are struggling to permanently delete a file on your computer, here are a few things to look out for.

How to ensure that the file or folder is not in use?

If you are using a shared computer, another user or program may be using the file/folder that you are trying to delete.

Ask other users to close their active programs and log off from their account. You should then restart your computer, log into your account, and try to delete the file/folder again.

How to run your system on safe mode?

If your system or the file has been infected by a virus, using the Safe Mode may allow you to delete the stubborn file, as most viruses are activated while running on normal mode.

Restart your system. When the first screen is displayed, press the F8 key on your keyboard.

Various booting options for your system will be listed on the screen. Using your keyboard arrows, select Safe Mode.

When the loading is complete, choose the file/folder that has to be deleted. Right-click on the file and click the Delete option.

N.B. Don't forget to empty the Recycle Bin by right-clicking on the icon and choosing the option "Empty Recycle Bin".

How to download or update your antivirus program?

If your computer system has been infected, you should first download an antivirus if you do not already have one. If you do, think about upgrading the current version of the software and run the scanning process again. Here are a few suggestions for good antivirus programs:

BitDefender

BitDefender is an antivirus and anti-spyware program that protects against phishing attacks. This program is available for both commercial and free trial use. System requirements for BitDefender include:

Windows 2000 equipped with Service Pack 4

Windows XP equipped with Service Pack 2 (32/64 bit)

Windows Vista (32/64 bit)

Kaspersky 7

Kaspersky 7 is an antivirus and anti-spyware program that protects against worms and Trojans. This program has a number of system and hardware requirements including:

Microsoft Windows XP Professional x64, Microsoft Windows 2000 Professional (Service Pack 4 or higher), Microsoft Windows XP Professional (Service Pack 2 or higher), Microsoft Windows XP Home Edition (Service Pack 2 or higher), Microsoft Windows Vista, Microsoft Windows Vista x64.

50MB of hard disk space, a CD-ROM player, Internet connection, Internet Explorer 5.5 or higher, Microsoft Windows Installer 2.0.

AVG Anti-Virus 8

Anti-Virus 8 is a free antivirus program that is compatible with various Windows systems, including Windows 2000, Windows XP, Windows XP Pro x64, Windows Vista, and Windows Vista x64.

System Requirements include CPU Intel Pentium (300MHz), 30MB of hard drive space, as well as 256MB of RAM.

How to use Notepad?

You can try to use Notepad++++ to open the file that you want to remove and bypass Windows Explorer and its indexing.

  • Open Notepad and go to the File > Open.
  • Ensure that the File Type option is set to All files and not only Text documents.
  • Once you have located the file that you would like to delete, right-click on it and select Delete.
  • Do not double-click the file.
  • Make sure to empty your Recycle Bin once you've finished this process.

How to deactivate the indexing service?

  • Go to your Start button and choose Control Panel. Select the Administrative Tools option and click on the Services tab.
  • Find the Indexing option located in the lower section of the window.
  • Select the Stop button.
  • Without closing the window, try to delete the file again. When finished, you can set your configuration to its initial settings or choose to disable the indexing option.

How to use MoveOnBoot?

MoveOnBoot is a simple freeware utility that will let you delete the files that you want to remove before your computer system locks them. Before your system even starts, changes are done to your hard drive.

Sometimes when you want to download a file, you might notice that it comes in a .zip format. If you don’t know what it is and are having trouble opening it, you’ve come to the right place! This article is going to teach you how to unzip files using default applications in Windows and macOS as well as third-party programs.

Two Ways to Unzip Files

There are two ways to extract zipped files:

  1. By using your operating system’s built-in software.
  2. By using third-party tools.

Let’s look at each one of these options in more detail.

1. Using an OS Built-In Tool

First, let’s take a look at how to extract files using native software found in Windows and macOS. Because you’re only using what your computer already has, there is no need to download another tool.

Windows

While it is possible to see the content of a zip file by double-clicking on it on Windows, you still need to extract the files to use it. The Windows default support for .zip goes by the name of Compressed (zipped) folders and here’s how to use it:

How to delete zip files on pc or mac

  1. Right-click the file that you want to decompress and choose Extract All.
  2. Choose the directory where you want to keep the extracted files and click Extract. It is optional to check the box underneath if you need to see the content immediately after the extraction is done.
  3. The files that were inside the .zip now can be found in the location you picked in step two.

macOS

Archive Utility is Mac’s built-in tool that handles the .zip format. To unzip a file, follow these steps:

How to delete zip files on pc or mac

  1. Double-click on the file you want to unzip.
  2. Once extracted, the file will appear in the same folder as its archive.

How to delete zip files on pc or mac

If you want to change the default folder location, access Internal Hard Drive -> System -> Library -> Core Services -> Archive Utility. Once there, select Preferences and set the location by clicking Save Expanded Files.

If you’re using Linux, read here for an in-depth guide on how to unzip your file.

2. Using a Third-Party Tool

While it is not necessary to download third-party tools to extract a .zip file, they do come with added features that allow you to customize, password-protect, and repair your zip files.

Below are our recommendations.

This file archiver is a free and open-source program with a 2-10% higher compression rate compared to WinZip and PKZip. It also has its own 7z extension that compresses data 30-70% better than the .zip format.

Although it is only available for Windows, it also has a port for Linux/Posix command line called p7zip.

To unzip with this tool, follow these steps:

  1. Right-click on the file that you plan to extract. 7-Zip should be listed there after installation.
  2. Hover your mouse above the program name, and you will see a drop-down menu with multiple commands. Click Extract Files.
  3. In the next menu, choose the save location by clicking on the three dots, leave it be if you want it in the same folder as the original. Click OK.
  4. Alternatively, you can also choose Extract Here to immediately save your file in the archive’s location or Extract to [File Name] to make a folder out of the extracted data.

Zipware

Just like 7-Zip, Zipware is also a Windows-only extractor. However, it has a few features that stand out, such as a streamlined file manager, a password manager, conversion of all compatible formats to .zip, .exe, or .7z and a virus scan.

Again, decompressing using this tool follows the same method as the previous ones with slightly different options:

  • Extract to this folder – for immediate extraction to the location of the zip.
  • Extract to this folder + \Filenames\ – for a similar effect but with a folder made out of the file.
  • Extract to other… – opens a drop-down menu to choose another location.

Regardless of what tool you use, it is a good practice to delete the .zip file after you extract its content because keeping both consumes more space.

What is a .zip File?

A .zip file is an archive containing one or more files that have been compressed to reduce its size. Zipping a file is useful to spare up to 80% or more storage space.

Additionally, zipping big files enables users to upload and send them faster over the internet, simultaneously decreasing the chance of it being corrupted. Users can also use .zip format to encrypt their data for extra security.

There is plenty of software that can be used to unzip files. However, your computer is generally already equipped with a built-in program that can perform the task just fine.

Conclusion

A zip file is an archiving method that is useful to save storage since it compresses file sizes.

You can unzip files either using default Windows and macOS settings or by utilizing third-party software such as Zipware, and 7-Zip.

The process itself takes only a few clicks, so you can have the task done in no time.

How to Unzip Files FAQ

In this section, we’ll answer some common questions about file archives.

What are the most popular archive formats?

While there are various archive formats, the following are the most popular options:
RAR ‒ supports multi-volume splitting and offers error recovery features.
• ZIP ‒ popular among desktop users as it’s supported by major operating systems but requires proprietary software for compression and archival.
7Z ‒ supports multi-threading operations for an optimal compression ratio.
• TAR ‒ a UNIX-based file archiving format often used with the GZIP algorithm for file compression.
• APK ‒ built based on the ZIP file format for exclusively distributing Android operating systems’ install packages.
• DMG ‒ a mounted disk image format for macOS.

How does file archiving work?

The file archiving process involves combining multiple files and treating them as a single file. Doing so allows you to implement multiple actions on these files more efficiently, including but not limited to data compression, encryption, and transfer.

This process is often done by compressing the targeted files for easier management. The preservation of the original data structure depends on whether the lossy or lossless data compression method is used.

Edvinas is a professional mentor and trainer of customer support agents. When he’s not teaching the secrets of providing exceptional service, he likes to travel the world and play basketball.

Mahesh Makvana
How to delete zip files on pc or macMahesh Makvana
Writer

Mahesh Makvana is a freelance tech writer who specializes in writing how-to guides. He has been writing tech tutorials for over a decade now. He’s written for some of the prominent tech sites including MakeUseOf, MakeTechEasier, and Online Tech Tips. Read more.

How to delete zip files on pc or mac

If you prefer command-line methods, Windows 10 offers a couple of commands to help you delete your files and folders from a Command Prompt window. We’ll show you how to perform this deletion.

Table of Contents

  • Delete Files with Command Prompt on Windows 10
  • Delete Folders with Command Prompt on Windows 10
  • Various Uses of the Del Command

Delete Files with Command Prompt on Windows 10

To delete files (not folders) from Command Prompt on Windows 10, you can use the built-in del command. This command helps you remove the specified files from your PC.

To use it, first, open Command Prompt. Do this by opening the Start menu, searching for “Command Prompt”, and clicking “Run as Administrator” on the right of the search results.

How to delete zip files on pc or mac

In the “User Account Control” prompt that appears, click “Yes.”

You now have a Command Prompt window open. Here, type the following command, replacing PATH with the full path to the file you want to delete. Then press Enter.

For example, to delete a file named “MyFile.txt” placed on your desktop, use the following command replacing username with your own username:

How to delete zip files on pc or mac

And your specified file is now deleted from your storage!

To customize your deletion process, you can use a couple of parameters that the del command offers.

For instance, you can add the /p parameter to the command to get Command Prompt to ask for your confirmation before deleting a file. Similarly, you can add the /f parameter to the command to force delete your read-only files.

Here’s what the above command looks like when paired with the /p parameter:

How to delete zip files on pc or mac

Delete Folders with Command Prompt on Windows 10

To delete folders (also called directories) on your PC, use Windows’ built-in rmdir command. This command helps you delete folders as well as their subfolders and the files inside them.

To use this command, open a Command Prompt window. Do this by opening the Start menu, searching for “Command Prompt”, and clicking “Run as Administrator” on the right of the search results.

How to delete zip files on pc or mac

In the Command Prompt window that opens, type the following command replacing PATH with the full path to the folder you want to delete. Then press Enter.

For example, to delete a folder named “MyFolder” on your desktop, use the following command replacing username with your own username:

How to delete zip files on pc or mac

And the command will get the specified folder removed from your PC!

If the folder you want to delete contains any files or folders in it, add the /s parameter to the command and this will remove your folder including all its subfolders and files within them.

How to delete zip files on pc or mac

Various Uses of the Del Command

With the del command, you can use your creativity to delete your files in various ways. For example, you can remove certain types of files, remove only the files that have a certain word in their names, and so on.

For example, to delete all the PNG files in your current folder in Command Prompt, you can use the following command:

How to delete zip files on pc or mac

This command selects all PNG files in the current folder and deletes them.

Another creative use of the del command is to delete files that contain a certain word in their names. For example, to delete all files whose names start with “word”, you’d use the following command:

How to delete zip files on pc or mac

Finally, if you’d like to remove all files from the current folder, use the following command:

How to delete zip files on pc or mac

And that’s how you delete files and folders with Command Prompt. Very handy!

Deleting files with these methods is certainly not as intuitive as using the graphical methods, but it’s good to have these methods just in case you need them.

On a related note, did you know you can make Windows skip the Recycle Bin while deleting files?

  • › Why FPGAs Are Amazing for Retro Gaming Emulation
  • › iPhone SMS Messages Aren’t Green for the Reason You Think
  • › What Does WDYM Mean, and How Do You Use It?
  • › How to Stop Your Neighbors From Stealing Your Wi-Fi
  • › Do GPUs Wear Out From Heavy Use?
  • › Why Apple’s Logo Has a Bite Taken Out of It

How to delete zip files on pc or mac Mahesh Makvana
Mahesh Makvana is a freelance tech writer who specializes in writing how-to guides. He has been writing tech tutorials for over a decade now. He’s written for some of the prominent tech sites including MakeUseOf, MakeTechEasier, and Online Tech Tips.
Read Full Bio »

How to delete zip files on pc or mac

A ZIP file is a convenient way of giving your computer or phone some extra space when you’re close to reaching its storage limits.

Zipped files compress the data of photos, media, documents, et cetera, you’ve received from friends, family, work, or just downloaded from the internet.

Zipping also makes it easier and less time-consuming to share large files on the internet, but those files need to be unzipped once shared. Here’s how to unzip files on a Mac.

How to unzip files on a Mac

To unzip zipped files on a Mac, simply double-click on the zipped file and the Archive Utility tool will unzip the files, creating a new folder of its contents beside the zipped folder on your desktop.

You can also right-click on the folder and click Open to perform the same task if Archive Utility is set as your default. If not, right-click and select Open with then Archive Utility.

How to unzip RAR files on a Mac

Comparable to ZIP files, Roshal Archive (RAR) is another file format where you’re able to hold large amounts of compressed data.

Unlike ZIP files, RAR files needs software to unzip the files and turn them into a folder. Still, the process to unzip a RAR file on a Mac is relatively straightforward thanks to a free, compatible software known as The Unarchiver.

1. Download The Unarchiver.

2. You will be prompted about the types of files you want the software to open. Make sure RAR Archive is selected among those options.

3. Then select the Extraction tab to tell how you want the program to manage the folder.

4. Once your settings have been made, right-click on the RAR file and select Open with and The Unarchiver.

5. Select the destination for your RAR extraction folder. Once done, click the blue Extract button at the bottom right of the window.

How to delete zip files on pc or mac

Over time, your collection of photos, videos, documents, and games can take up a lot of space. Fortunately, there’s a way to free up storage space without having to delete anything.

You can compress multiple files into a ZIP file, which reduces their file size without deleting anything. Zipping files is a great way to share them, or to store files you don’t open often.

Here’s how to zip files on every popular device and operating system.

How to zip files on a Windows PC

1. Select all the files you want to zip. You can either drag a box around them, or hold Ctrl and click each one individually.

2. Right-click one of the files and select Send to, then select Compressed (zipped) folder.

3. A ZIP file will appear containing all the compressed data. Feel free to rename or move this file however you’d like.

If you want more control over how files get compressed, try using an app like WinZip or WinRar.

How to zip files on a Mac

1. Select all the files you want to zip. You can either drag a box around them, or hold Command and click each one individually.

2. Right-click one of the files and select Compress.

3. A ZIP file will appear containing all the compressed data. Feel free to rename or move this file however you’d like.

How to zip files on Chromebook

1. In the Files app, select all of the files that you want to zip. You can either drag a box around them, or hold Ctrl and click each one individually.

2. Right-click one of the files and select Zip selection.

3. A ZIP file will appear containing all the compressed data. Feel free to rename or move this file however you’d like.

How to zip files in Linux

Unlike other systems, you’ll need to use the command line to zip files on a Linux computer.

1. Open a command window by pressing Ctrl + Alt + T.

2. In the command window, type:

So for example, if you wanted to zip a text file called “cat” and an image called “dog” into a ZIP file called “animals,” you’d type:

Your files will “deflate” — Linux’s term for compressing — and then form the ZIP file. It’ll appear in the same directory as the original files, and you’ll see a percentage showing how compressed each file is.

What to do if Linux says ‘zip’ isn’t valid

The zip command doesn’t always come installed by default. If Linux won’t recognize it, you’ll need to install it.

To fix this, first type and submit:

sudo apt install zip

sudo yum install zip

And then try the zip command again. Use the first if you’re running Ubuntu or Debian, or the second if you’re running Fedora or CentOS.

If you want to zip files using an app instead of command strings, consider downloading an app like PeaZip.

How to zip files on an iPhone or iPad

1. Open the Files app and find the files that you want to zip up.

2. On an iPhone, tap the three dots (. ) in the top-right corner and then Select. On an iPad, just tap Select in the top-right corner.

3. Tap all the documents you want to zip.

4. Select the three dots (iPhone) or More (iPad) in the bottom-right corner and hit Compress.

A ZIP file will be saved to the folder you selected.

How to zip files on an Android

Depending on your Android device, you may have the File Manager app as a built-in way to create ZIP files. But if it’s missing, downloading a third-party app like WinZip is an easy way to zip your files. Just note that to use all of WinZip’s features, you’ll need to buy the premium version.

Using File Manager

1. Open the File Manager app and move all the flies you want to compress to a single folder.

2. Tap on the three dots in the right-hand corner.

3. Select all the items you want to zip, and at the bottom tap Compress.

4. Then select Save and a new folder will be created with the compressed files.

Using WinZip

1. Download and open WinZip, then give it access to your files when asked.

2. You’ll see a list of folders, each with a different type of media on your device. Head to the folder of your choice.

3. If you’re selecting a single file, hit the three dots directly to the right of it. If you’re selecting multiple files, hold your finger down on one and then select all the files you’d like.

4. Tap Zip.

5. Choose the save location (Storage, Google Drive , etc.) and select Zip here.

How to delete zip files on pc or mac
Compressed files and archives are very common. You certainly see these files often—they bear the .zip extension, and contain one or more files that have been shrunk to save space. Archives also allow you to store a number of files in a single file, making them easier to move around or send to others. (For instance, if you sent a hundred text files to someone by email without compressing them, it would be very annoying to receive that many attachments.)

Apple’s macOS uses Archive Utility, a small app hidden away in an obscure folder and used to create and decompress .zip files. The Archive Utility app has some options that may make working with archives easier. In this article, you’ll learn about compressed files and Archive Utility, and we’ll show you some options you can adjust that will make working with compressed files easier.

Where is the Archive Utility?

Archive Utility is a small app hidden in a system folder. To access Archive Utility on your Mac, go to /System/Library/CoreServices/Applications. Here you’ll find Archive Utility along with some other apps that you may occasionally use, such as About this Mac, Network Utility and Screen Sharing. All of these apps are generally launched in other ways, not by double-clicking. About this Mac launches when you click the Apple menu and choose About this Mac. You can launch Screen Sharing by choosing Go > Connect to Server in the Finder.

How to use Archive Utility

In most cases, you’ll use Archive Utility without launching it directly. If you want to compress a file, a folder, or a group of items, select it/them, then right click and choose Compress [item name]. Archive Utility launches, compresses the item(s), and then it quits.

How to delete zip files on pc or mac

The same is the case if you receive a .zip archive and want to expand it; just double-click the archive. Archive Utility opens, decompresses the archive, and then it quits.

However, if you need to create a lot of archives, you might want to launch the app, so you can drag files and folders onto its Dock icon and not have to bother with the contextual menu.

Archive Utility Preferences

If you launch Archive Utility, then choose Archive Utility > Preferences, you see a small window with a number of options.

How to delete zip files on pc or mac

Archive Utility preferences can be very useful if you work with compressed files often. There are two sections to the window, with a horizontal rule dividing them. The top section controls what happens when you decompress archives. These settings are as follows:

Save expanded files lets you choose to save decompressed archives in the same folder as the original, or in a specific folder. If you want to use a different location, click the popup menu and choose Into, then select a folder. This can be useful if you get lots of .zip archives—such as daily backups, or database dumps—and want to automatically store them in a specific location after expanding them.

After expanding lets you leave the archive where it is, move it to the Trash, or delete it (without putting it in the Trash). You can choose one of these options from the popup menu. You can also choose Move archive to, and select a folder, if you want to save your archives.

Reveal expanded item(s) in Finder tells Archive Utility to select the decompressed file or folder and bring its window to the front. If you don’t move the expanded files to a different folder, you probably don’t need to change this.

Keep expanding if possible tells Archive Utility to decompress any archives it finds within an archive. This isn’t common, but there are some types of archives that may present like this, such as Unix archives that first use a .tar compressed, then a .gz compression.

The bottom section, below the horizontal line, tells Archive Utility how to create compressed archives.

If you want to tell Archive Utility where to save the archives you create, from the Save archive popup menu, choose Into, then select a location. Otherwise, they are created in the same folder as the original items.

When you compress items in the Finder, Archive Utility always creates a Zip archive. However, you can use Archive Utility to create compressed archives in other formats; you might want to do this to such archives to people for use on other operating systems. To do this, open Archive Utility, then choose File > Create Archive, and select the item(s) you want to compress.

You can use one of three archive formats in this manner: Compressed archive, regular archive, and Zip archive.

How to delete zip files on pc or mac

  • A Compressed archive is a .cpgz archive. This is used on Unix and Linux, and you won’t want to use this format unless you’re sending archives to a computer running one of these operating system.
  • A Regular archive is a .cpio archive, which combines multiple files in a single file without compressing them. As above, you won’t need to use this unless you’re working with other operating systems.
  • A Zip archive is what we’re all familiar with; it combines and compresses files, in some cases reducing the overall size by half or more. It both saves space, and makes it easy to manage large numbers of files. It’s also the most compatible, being readable on both macOS and Windows.

After archiving, Archive Utility can leave files alone (do nothing to them), move them to the Trash, or delete them (without moving them to the Trash). You can also check Reveal archive in Finder to have Archive Utility show you archives when it’s finished. This can be useful if you create large archives that can take several minutes to create, and want a sort of notification when they’re finished.

I prefer to leave all the settings at their defaults, with the exception of the After expanding option; I’ve set that to move archives to the Trash. It’s rare that you’ll need to keep an expanded archive, and this saves time, because you won’t have to manually trash them. (You can always recover them from the Trash if you need to keep them.) You may want to change other settings, especially if you need to keep your .zip archives, or want to expand them in a different location from where you access them (often the Downloads folder).

Archive Utility is an essential tool. With the awareness that you can change some of its settings, you’ll find it easier to work with archives.

How can I learn more?

How to delete zip files on pc or macEach week on the Intego Mac Podcast, Intego’s Mac security experts discuss the latest Apple news, security and privacy stories, and offer practical advice on getting the most out of your Apple devices. Be sure to follow the podcast to make sure you don’t miss any episodes.

You can also subscribe to our e-mail newsletter and keep an eye here on Mac Security Blog for the latest Apple security and privacy news. And don’t forget to follow Intego on your favorite social media channels: Facebook, Instagram, Twitter, and YouTube.

Introduction | Unzipping Files | Zipping Files

Our website has many large files available in zipped or compressed format. The result is a smaller file that downloads faster. If you haven’t used zipped files before, or are having trouble working with them, this tutorial is to help you.

– What is a zipped (or compressed) file (or folder)?

Synonyms
Zipped file
Compressed file
Zipped folder
Compressed folder
Zipped archive

Zipped files (known by many names, see the table to the right, but in this document called “zipped files”) are one or more files on a computer disk that have been combined into a single file in a space-efficient manner to reduce their total file size. This is very useful when disk space is limited or when people download files. Since multiple files can be stored in a zipped file, a single file can be downloaded then unzipped to easily download many files at once. You can think of a zipped file as a set of books on a shelf:

How to delete zip files on pc or mac

The set of books is arranged so that they take a very small amount of space, but you can’t use or read them while arranged in this compressed manner.

Unzipping files

In order to work with zipped files, they must be unzipped or extracted first. Windows has a built in program called Windows Compressed Folders which can do this for you. If you have installed a zip program, such as WinZip* or 7-Zip*, Windows Compressed Folders may not be easily available on your computer. If you follow the instructions below for Windows Compressed Folders, but a different program opens, you can still follow the instructions listed, and it should generally still work.

– Unzipping a file with Windows Compressed Folders

  1. ↓ TIP: Check the box for each step you complete, keeping the next step clear.

Find the zipped file that you want to unzip in Windows Explorer. In this example, I’m showing cvs-eep-entrytool-v2.2.7.zip, in the folder C:\data. Windows XP is shown here, but Windows Vista works in the same way:

Note that the file extension is .zip for zipped file.

Next, double-click the zipped file. This opens up the zipped file so that you can see the files that are inside it. With the above analogy of a set of books on a bookshelf, you are now seeing the book spines on the shelf:

Notice the address bar now says that you are in a folder with a .zip extension and shows a zipped file icon as well. The file inside this zipped file is shown as a normal unzipped file. In this case, it’s an .mdb file or Microsoft database. Do not double-click this file to open it when inside a zipped folder. That’s like trying to read a book before taking it off the shelf.

This step is the step that confuses a lot of people. This appears to be a normal folder on your computer, but in fact, you are within a single zipped file.

Single-click the file(s) and/or folder(s) you want to unzip. If you want to select all files and folders (even if there is only one) in the .zip file, press Ctrl-A on your keyboard:

Notice that the files are now selected. In the above screenshot, a blue background shows that a file is selected. The background for selected files could be a different color on your computer.
Now, copy the file(s) by pressing Ctrl-C on your keyboard.
Then, click the “back” button to return to the previous folder:
Now you are in the original folder, which is not a zipped file (in this case, C:\data):
Lastly, paste the file(s) into this folder by pressing Ctrl-V on your keyboard. This copies the files as unzipped files into the folder you are currently viewing:

How to delete zip files on pc or mac
This may take a few minutes or longer for large files.
When the file has completed copying, both the .zip file and the unzipped file(s) are in the same folder. You can use the .zip file as a backup copy or delete it. You can now work with the unzipped files. In the above analogy, you have pulled book(s) off the shelf and can read them. Enjoy!
How to delete zip files on pc or mac

– Unzipping a file with other zip programs

Other software programs exist for zipping and unzipping files. Two popular programs are WinZip * and 7-Zip *. Both of these allow you to unzip and zip with two clicks:

Here, I have right-clicked on the zipped file and selected “Extract to here.” “Extract” is the same thing as “unzip.” Windows also sometimes places “Extract files” links in toolbars which may be useful to you. Windows generally opens a wizard to ask where you want the files extracted. The location of the “extract files” tool varies depending on how Windows Explorer is set up and what version of Windows you are using.

– Zipping a file with Windows Compressed Folders

  1. ↓ TIP: Check the box for each step you complete, keeping the next step clear.

Right-click on the file, left-click on Send To > , then left-click on Compressed (Zipped) Folder:
How to delete zip files on pc or mac
Windows creates a temporary file (highlighted letters) and may show a “Compressing. ” progress box:
How to delete zip files on pc or mac
When Windows finishes compression, a new .zip file has been created in the same folder as your unzipped file, with the same name except with a .zip extension:
How to delete zip files on pc or mac
Note that in most cases, the file size will be much smaller. Some files can’t be compressed much, such as .jpg pictures. Others files, such as text and database files, compress to a small fraction of the size of the uncompressed file.

– Zipping with other programs

As above, other programs exist to zip files with two clicks:

*This page is informational only and is not an endorsement of any particular software.

So you just went on a vacation with friends, and they’re asking for copies of your photos. You visited so many places that you decide to organize them into folders. But then, how exactly are you going to upload the folders as attachments in an email? Well, the easiest way to do that is to turn them into a ZIP file. Here’s how to zip a file or folder on a Mac or a Windows PC.

What is a ZIP file?

Unlike regular digital files, a ZIP file is a collection of files that have been compressed into a single file. It’s like a bunch of coins put into a single pouch and zipped closed, so it can be easily moved, transferred, or sent. Aside from being able to easily transport or email several files at once, zipping a file will also decrease the size of the files and offer you password protection.

Mac and Windows computers have their own built-in compression features that can easily zip files or folders.

How to Zip a File on Mac

If you need to email several files, you can spare yourself the hassle of attaching each file individually to your email. You can create a ZIP file or zip a bunch of files and attach them in batches.

If you’re using a Mac computer, you can create zip files by following these steps:

  1. Put all the files you want to zip in the same folder. You can simply drag-and-drop files and folder into one location. It doesn’t matter if it is comprised of both files and folders, as long as they are in the same location.
  2. Next, right-click on the folder containing your files and folders you want to zip. This will open a pop-up menu. You can also use Control-Click to open the contextual menu as well.
  3. Click “Compress (folder name).” This will automatically activate the built-in compression feature to compress your selected files/folders. By default, your compressed file will have the same name as your folder, but with a “.zip” at the end. You’ll find your zip file in the same folder as your original folder.

How to delete zip files on pc or mac

How to Zip a File in Windows

If you’re using a Windows PC, and you want to create a zip file for easy transport, or you plan to email several files, follow the steps below:

  1. Put all the files you want to zip in the same folder. Make sure they are in the same location.
  2. Next, right-click on the folder containing your files and folders you want to zip. If the files or folders are not next to each other, tap and hold the Ctrl key and left-click to highlight or select files/folders you want.
  3. Finally, click Send to, then Compressed (zipped) folder. Your system will then create a zip file, which will have the same name as the folder, but with a “.zip” at the end.

How to delete zip files on pc or mac

If you want to know how to open a zip file on a Mac or PC, check out our guide here.

How to delete zip files on pc or mac

Open and Extract

How to delete zip files on pc or mac

  • BetterZip can currently open and extract over 30 archive formats including: ZIP, TAR, TGZ, TBZ, TXZ, TZ, Zstandard, Brotli, 7-ZIP, RAR, Apple Disk Images (DMG), TNEF (winmail.dat), ARJ, LHA, LZH, ISO, CHM, CAB, CPIO/CPGZ, DEB, RPM, StuffIt’s SIT and SITX, BinHex, MacBinary, ePub, JAR/WAR/EAR/SAR/PAR/WSR Java archives, CBZ/CBR e-books, GZip, BZip2, WIM.
  • BetterZip can also join split files with enumerated file extensions 001, 002, .
  • Open and extract winmail.dat files.
  • Open, extract, and modify ePub files. BetterZip is not a replacement for a real ePub editor, but since ePub files are really just special zip files, why not use BetterZip to peek into or even modify them.
  • Extract images and sounds from PDF or Flash files.

Preview

Preview or Quick Look files inside your archives without extracting first.

How to delete zip files on pc or mac

Protect Your Data

How to delete zip files on pc or mac

  • Protect your data with strong AES-256 encryption. Never email sensitive files unencrypted or upload them to cloud services without protection.
  • BetterZip’s password manager can collect a list of archive passwords in a securely encrypted password vault and use them automatically whenever you open an encrypted archive.
  • BetterZip features a password generator similar to Safari’s. Let BetterZip suggest strong passwords whenever needed.

Finder and Sharing

  • The new BetterZip menu in Finder’s contextual menus gives you access to all your presets to compress or extract with preconfigured options.
  • The Finder extension also adds a button in the Finder’s toolbar. Select some files in Finder, click the BetterZip button and choose one of your presets from the drop-down menu to create an archive with these files. Of course, you can also invoke any of your extraction presets on selected archives.
  • BetterZip 5 adds a sharing extension to macOS’ Sharing menu that lets you compress documents from inside other apps.
  • BetterZip 5 itself has a Share button to send an archive to one of macOS’ share targets, e.g., attach it to an email or upload it to a cloud storage service.
  • BetterZip allows you to add configurable services to macOS’ Services menu.

How to delete zip files on pc or mac

Presets

How to delete zip files on pc or mac

BetterZip allows you to create presets for creating and extracting archives. Presets collect all settings that can be applied to an archive, from the destination folder and archive format, to passwords and even a script to execute after the operation completed.

Filtering

BetterZip can filter out unwanted files during archive extraction. No more Thumbs.db and other unwanted stuff from other systems! It can also prevent files from being put into your archive in the first place. You don’t want your hidden version control folders or backup files in the archive.

How to delete zip files on pc or mac

Automate BetterZip

How to delete zip files on pc or mac

BetterZip can be scripted using AppleScript. Integrate it in your workflows.

BetterZip includes Automator actions for compressing, extracting, and testing archives.

BetterZip integrates nicely with third party productivity tools like Alfred, LaunchBar, DropZone, and Hazel.

See the Automation page for more details.

Archive Comments

Display, add, and update archive comments for zip and rar formats. BetterZip can also display the file comments that may be present in zip files.

How to delete zip files on pc or mac

Test archives

How to delete zip files on pc or mac

  • Quickly test an archive without extracting it to find out whether it is damaged.
  • Test archives using the operations queue.

Integrated QL Generator

The widely used BetterZip Quick Look Generator is now integrated into BetterZip. Using the QL generator is still free for all.

In order to manually remove an infected item from your computer you need to perform the following steps:

1. Restart the computer in Safe Mode. You can do that, by following the steps in our article, here.

2. Display hidden objects in Windows; information on how to display the hidden object can be found here.

3. Locate and delete the infected file (right-click on the file and then select Delete). In our example the infected file is:

C:\test\eicar.com.txt

4. After you do this, you can restart the computer in Normal Mode and run a Bitdefender System Scan to be sure the computer is clean.

NOTE: If infected files are still found on the system (and they haven’t been resolved by the Bitdefender scan) please generate a scan log and send it to the Technical Support Team via the open ticket you have with us. You can see here in our article how to generate a scan log. If you don’t have a ticket, please use the contact form.

NOTE: We recommend manually deleting an infected file only if you are sure the file isn’t an important operating system file. Deleting a system file may result in the malfunction of your operating system. If you are not sure about the file, please contact the Customer Care Department.

Common types of files that can be safely deleted

Temporary Windows Files

The Temporary files are usually recognized as follows:

• .tmp files found on C:\, C:\Windows, C:\Windows\temp, etc.

• files found in the locations:

C:\Windows\Temp

C:\Users\AppData\Local\Temp

NOTE: The system drives displayed are those where the primary boot volume and OS are. The default one is the C:\ drive. Otherwise, modify the paths accordingly.

For more details and step-by-step instructions please check the KB article How to clean infected Temporary Files.

Temporary Internet Files

A temporary internet file is a file used by browsers in order to store data for every web page or URL address that you visit. When the server sends the web page files to the browser, they are stored in a file so that the next time you visit the site, the browser takes the data from the temporary Internet file.

The Temporary Internet Files can be found in different locations depending on the internet browser:

• For Mozilla Firefox: Type about:cache in the address bar. The upcoming page reveals the cache folder.

• For Google Chrome: C:\Users\%username%\AppData\Local\Google\Chrome\User Data\Default\Cache

For more details about the exact locations and how to delete temporary internet files check this article.

Files located in System Volume Information

Check this KB article to learn how to clean system restore points from System Volume Information

Email archives that cannot be repacked by Bitdefender

For more details and how to clean an infected email please check this article.

For files located on optical devices such as CDs, DVDs, Blue-Ray Discs

Unfortunately, these files cannot be cleaned since modify/delete actions are not permitted on this kind of storage devices. You can rest assured that, if you still want to use the respective device, Bitdefender On-Access Scanning will protect your PC from any attack. However, we recommend you take safety measures or not using at all computers without an up-to-date security solution.

Files located on network storages, NAS, network shares, mapped network drives, etc.

There are several reasons for Bitdefender not being able to clean the respective files, such as:

• You only have read permissions on the respective network share/storage, therefore no actions can be taken due to limited privileges

• The network share has a different operating system, not supported by your Bitdefender virus engines.

You can rest assured that, if you still want to access this share, Bitdefender On-Access Scanning will protect your PC from any attack.

Tmp.ebd files

In order to remove the infected objects from your computer you need to reset the Windows Update and Windows Search services by following these steps:

• Temporarily disable Bitdefender Antivirus from Protection > Antivirus > Open > Advanced > Bitdefender Shield.

• Type services.msc in the Windows Start menu and hit Enter.

• Locate the Windows Update service, right-click on the entry, and choose Restart from the dropdown menu.

• Locate the Windows Search service and restart it as well.

While 7-Zip may sound like a good name for a PC virus, it’s actually a legitimate utility that compresses and decompresses files. It also comes with a built-in file manager that helps you manage those files. If you share a computer, such as for business purposes, someone else may have installed 7-Zip without telling you. An IT person may also have installed the program on your computer. While it doesn’t hurt to leave the app on your computer, you can delete 7-Zip quickly if you think you don’t need it.

7z Virus Concerns

The 7-Zip utility won’t harm your computer or steal information. To protect your computer from real viruses, install an anti-virus program and keep it running at all times. Real viruses may arrive in email messages, hide in files you download and infect your computer when you visit dangerous websites. Microsoft Windows comes with Windows Defender, a free malware protection program that guards your PC against malicious software attacks, but it’s not an anti-virus program.

If you see the 7-Zip program on your Windows computer, it may be listed as 7z.exe. The 7z exe will not harm your computer.

It is possible that an executable file or other file inside of a 7-Zip archive could be a virus, so as with any file, you should only open 7-Zip archive files sent by someone you trust.

When to Use 7-Zip

One reason to use 7-Zip is because it’s a free open-source program that runs on any computer. You don’t have to register 7-Zip to use it and the app integrates with the Windows shell, thanks to its creator Igor Pavlov. That means when you right-click a zip file, you’ll see a menu option that enables you to unzip the file using 7-Zip. You can also use 7-Zip to create compressed zip files that you can share with others or store on your hard drive when you wish to archive information.

The program uses a file format known as 7z that can compress files more efficiently than some other compression utilities. This can help you save on Internet transmission times when you upload and download these files, reduce your data charges and save you space on your hard drive and other storage devices.

One downside of 7-Zip is that not as many people have it installed as have software to support traditional zip files, which are automatically supported by most modern operating systems. If you send someone a 7Z file, you may have to explain what it is, how to open it and even verify that it’s not a virus or something else nefarious.

Uninstalling 7-Zip from Your Computer

If you’d like to remove 7-Zip, press your “Windows” key to open the Start screen. You can then right-click the 7-Zip icon and then click “Uninstall” to view the Programs and Features window. This window displays your installed programs and highlights 7-Zip, the app you right-clicked. When you click the window’s “Uninstall/Change” button, Windows removes 7-Zip from your computer. Before clicking that button, ensure that 7-Zip is highlighted; you don’t want to uninstall the wrong application. You don’t have to reboot your computer after removing 7-Zip.

Alternative Compression Methods

You’ll often be more productive if you use a zip program because many apps that you download are in zip format. People may also send you compressed files containing documents, images and even large databases. Other programs that help you compress and decompress files include WinZip and JZip. You can also extract everything from a compressed folder using Windows File Explorer. To do that select a compressed folder, click “Compressed Folder Tools” and then click “Extract All.” When you’d like to zip a file, select it in the Windows File Explorer and click “Zip.”

Other operating systems, including Apple macOS and various Linux distributions, also include built-in support for the traditional Zip format.

I have a few zip files on my computer. I’ve already extracted the files from them. Can I delete the zip files, or do I need them for the extracted files to work?

11 Answers

If you’re running low on disk space, you can delete your zip files. As long as the extracted files are running ok, you can delete them. Zip files are kept for security purposes (i.e. for back-up), but if you know where to get them again, might as well delete them. They’ll just clog up your hard-drive.

To extract just one file out of it. Open the Zip by double clicking on it, Hightlight the one file by clicking once on it and at the top, selcet extract, It could be that that one file is just an icon file. There is another possibility. Sometimes items can be zipped into two different Zip files and it requires the second Zip for the entire item to be extracted but it should have told you this if that was the case. Good Luck

It depends on you. if you have already extracted the contents inside the zip file, they are not necessary anymore because the files needed are already outside.

If your using the file in the zip for temporary usage,it is advisable to keep it because it will save you disk space

well you can delete them but i prefer to keep them if they were important so the file may have some troubles and i may need its source again. and you don’t need the zip files to make your file work.

it is your Choice.

You can delete them.

If you click ‘open’ instead of ‘save’ in your browser when downloading, it usually puts the zips in a temporary folder so they are automatically deleted after a given time period.

You don’t need them for anything but an archive in case you damage the unzipped files. I keep all that kind of stuff on an external hard drive. Cheap insurance.

This is a good question, and one that has been the source of confusion for me for a long time.

To delete a file, you must import the OS module, and run its os.remove() function:

Example

Remove the file “demofile.txt”:

Check if File exist:

To avoid getting an error, you might want to check if the file exists before you try to delete it:

Example

Check if file exists, then delete it:

Delete Folder

To delete an entire folder, use the os.rmdir() method:

Example

Remove the folder "myfolder":

Note: You can only remove empty folders.

We just launched
W3Schools videos

COLOR PICKER

Get certified
by completing
a course today!

CODE GAME

Report Error

If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:

Thank You For Helping Us!

Your message has been sent to W3Schools.

Top Tutorials
Top References
Top Examples
Web Courses

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

I understand I can use find . -name “.DS_Store” to find all the .DS_Store files in the current folder and all subfolders. But how could I delete them from command line simultaneously? I found it’s really annoying to switch back and forth to all folders and delete it one by one.

8 Answers 8

find can do that. Just add -delete :

How to delete zip files on pc or mac

This will delete all the files named .DS_Store in the current path while also displaying their relative paths

How to delete zip files on pc or mac

Here is how to remove recursively the .DS_Store file

Open up Terminal In the command line, go to the location of the folder where all files and folders are:

Then finally, type in the below command:

How to delete zip files on pc or mac

You can also use extended globbing ( ** ):

in zsh, bash 4 and similar shells (if not enabled, activate by: shopt -s globstar ).

The best way to do this cleanly is using:

This removes the files, hides "permission denied" errors (while keeping other errors), printing out a clean list of files removed.

How to delete zip files on pc or mac

All the answers above work but there is a bigger problem if one is using mac and still on mac. The described lines do delete all the DS_Store files but Finder recreates them immediately again because that is the default behaviour. You can read about how this all works here. To quote from there if you are on mac, you should remove them only if you really need:

If you don’t have a particular reason to delete these .DS_Store files (windows sharing might be a solid reason,) it’s best to leave them “as is.” There’s no performance benefit in deleting .DS_Store files. They are harmless files that don’t usually cause any problems. Remember that the .DS_Store file saves your personalized folder settings, such as your icon arrangement and column sortings. And that’s why you normally don’t want to delete them but rather HIDE them.

How do I compress files to make them smaller?

One way to store more data when you are low on hard drive space is by using compression to make the files and folders you already have on the drive take up less space. In the past, utilities such as Winzip were used for this purpose, but Windows XP has a built in compression utility that does the same job.

To create a compressed folder, open My Computer and locate the folder where you want to create the compressed folder (also known as an archive). Open that folder, then select File, New, Compressed (zipped) folder.

How to delete zip files on pc or mac

Type a name for the compressed folder and press enter. Your new compressed folder will have a zipper on its icon to indicate that any files contained in it are compressed.

To compress files (or make them smaller) simply drag them into this folder. To uncompress them (or return them to their original state) drag them out of the compressed folder.

Compressed folders even support a password option, allowing you to use them as a place to store sensitive information. You should be careful when using this feature, however. The password is not recoverable. If you forget it, your data stored in the compressed folder will be lost forever. To add a password, open the compressed folder and select File, Add a Password.

How to delete zip files on pc or mac

In addition to the compressed folders feature, Windows XP supports another type of compression if your hard drive is formatted as an NTFS volume. You can see it if your hard drive was formatted with NTFS by opening My Computer and then taking a look at the details section on the lower left.

How to delete zip files on pc or mac

NTFS compression differs from compressed folders in that the NTFS compressed folders appear like any other folders. The operating system compresses and decompresses them on the fly each time you access and close them. NTFS compressed folders do not have a zipper on their icon. However, you can set up Windows to display them in a different color if you want to know which folders are NTFS compressed and which ones are not.

To set up an NTFS compressed folder, right-click on the folder you want to use and select Properties. In the General tab, click on the Advanced button.

How to delete zip files on pc or mac

Toward the bottom of the window you will see a check box that will allow you to Compress contents to save disk space.

How to delete zip files on pc or mac

If you want to display your NTFS compressed folders using a different color, select Tools, Folder Options from an Explorer window. Then in the View tab, make sure Show encrypted or compressed NTFS files in color is checked.