.Net ramblings
# Friday, 10 September 2004
How to turn off Windows auto-expand (and search) for compressed folders

I have a lot of .zip files floating around my computer and Windows XP/2003 includes them with regular folders when browsing in Explorer.  Also, when you search for files, Windows searches inside .zip files which can take a long time because they need to be uncompressed every time to be searched. 

I personally don't want this feature, and after a bit of looking around, i came across a simple solution.  Just unregister the component that does the searching within compressed folders.  Note: this doesn't stop you opening compressed folders, it just means they don't get included in the Windows Explorer tree-view, and they don't get included in searching with the Indexing Service.

Run the following command (Start > Run) or you can put it in the Run section of the Windows Registry in case Windows automatically adds back the zip dll.

regsvr32 /u C:\windows\system32\zipfldr.dll 

If you go need to put it back again, then run:

regsvr32 C:\windows\system32\zipfldr.dll 

Many thanks to 'SJB' for his/her post on http://www.annoyances.org/exec/forum/winxp/1054284272

Friday, 10 September 2004 22:36:46 (GMT Daylight Time, UTC+01:00)  #    Comments [0]  Windows Server