When you download a .zip file from the internet, or another computer, it puts a “block” file security attribute on it. So if you don’t right click on the zip, click properties, and click unblock – when you unzip it without removing that, all of the files in that zip will carry that “block” file attribute.
The idea is to look for any king batch process that will search through and unblock an entire file hierarchy. If that is not possible the actions with be right click file; click properties, click unblock, click ok but that will take for ever.
Here is a process that has worked for me:
- Download Streams v1.56 from http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx (just search in Google and you will find the tool). It is part of the Windows Sysinternals collection tool.
- Extract the Streams.zip in any folder
- Copy streams.exe (extracted file) to C:\Windows\System32\
- Now you you run the following command to unlock all files and directories within a directory.
streams -s –d *.*
Sample:
if you are trying to remove hide attributes then you can also use the following command is DOS window.
attrib -H -S /S /D