Windows 8 and 8.1 Forums

Check inside zip files for empty file

  1. #1

    Posts : 3
    Windows 8

    Check inside zip files for empty file

    I'm recently noticed that some zip files that I store images on contain some empty image files "0 KB".
    I'm just wondering if anybody knows of a quick way to scan a bunch of folders each with several zip each and then show which zip files contain empty files.

    Thank you.

      My System SpecsSystem Spec

  2. #2

    Central IL
    Posts : 3,468
    Linux Mint 17.2

    Use wither 7-zip or Winzip. Basic computing 101.
      My System SpecsSystem Spec

  3. #3

    Posts : 3
    Windows 8

    Seriously? Its that simple? I've been searching google for a week now.
    Can you please be more specific though?
      My System SpecsSystem Spec

  4. #4

    Posts : 22,576
    64-bit Windows 10

    Hello icebeast, and welcome to Eight Forums.

    Basically you would just need to open the .zip file with the 7-Zip program, and check the size to see if shows as 0 KB.
      My System SpecsSystem Spec

  5. #5

    Use 7z.exe (7-Zip executable). Something like

    7z l c:\temp\*.zip

    Put it in a batch file and process the output looking for 0 length files. I don't remember offhand how to do this but will see if I can come up with a batch file that works. Maybe someone else can provide it?????
      My System SpecsSystem Spec

  6. #6

    Posts : 3
    Windows 8

    I was looking for something that would check multiple files at once. I've been doing it manually but its taking way too long, at this rate I wont be finished until September.
      My System SpecsSystem Spec

  7. #7

    The command I showed will check all the zip files in that folder. Add the -r switch to recurse directories too.

    Try this from the Command line after you install 7-Zip.

    7z l d:\temp\*.zip | find " 0 "

    Change d:\temp to one of your folders.
      My System SpecsSystem Spec

Check inside zip files for empty file
Related Threads
Hi Over the years I've tried to save all my documents. This means that they have been copied from folder to folder and computer to computer (whatever was before Windows 95) probably mostly through external storage. However, some of these were saved directly to the 2nd internal hard drive D:\...
Hi, I recently tried to install Ubuntu 12.10, and lost access to Windows 7 and 8.1, after a LOT of looking for bootable disks and stuff, I did fix it. After recovering the operating systems (I had to delete Ubuntu partitions and then fix the Windows 7 bootloader, because there was 6 primary...
Hi guys. I have a weird one here. I downloaded few video files from a streaming website using Internet Download Manager and couple of such files do not playback properly. In Windows Explorer (detailed view and preview pane) it shows the file sizes as few hundred MB (which should be correct) but...
I've been backing up "My Documents" with CDBurnerXP because 1. I consider Windows Backups to be opaque and I prefer to keep them simple and to know what is going on 2. Windows Backups does some things I believe are risky so I will not use it 3. Windows 7 had a deep directory structure problem...
Empty Files in General Support
I keep finding files with names such as 3977C900 or similar on my system. The file type is called "File" and contains 0 kb. Does anyone know why these are being created and how I can stop it ? Thanks in advance
Just upgraded to Windows 8 and I'm having an issue I never had in Windows 7. Whenever somebody sends me an archive (.zip, .rar, etc.) that contains file names that are in Japanese, they always appear garbled (文字化け). 1. I am using Outlook 2010 2. This happens through both WinRAR and Windows'...
If anyone has Windows 8, can one go into the Registry and Find RunMRU and see if you have a file called "control/1" - I had someone do a bit of work in my Registry this morning and am hoping the guy was legit. Does that file appear to be correct? Also, I notice when go to Paste something in...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook