<p>I'm not going to be too surprised if I get shot-down for asking a "non programming" question, but maybe somebody knows ...</p>

<p>I was zipping the contents of my subversion sandbox using WinXP's inbuilt "Send to Compressed (zipped) Folder" capability and was surprised to find that the .zip file created did not contain the .svn directories and their contents.</p>

<p>I had always assumed that all files were included and I can't locate which property/option/attribute controls inclusion or otherwise. Can anybody help?</p>

<p>Thanks, Tom</p>

<p>EDIT:</p>

<p>So, isnt there a smart way to handle the problem? The real problem (show hidden files set to true. .svn folders are not compressed because windows does not consider them as valid folders) is still un-answered.</p>

<p>Thanks...</p>

[{'answer_id': 30157, 'author': 'SQLMenace', 'author_id': 740, 'author_profile': 'https://Stackoverflow.com/users/740', 'pm_score': -1, 'selected': False, 'text': "<p>A compressed folder doesn't mean that it will be a .ZIP file, only the contents of the folder are compressed and to you it will look like a normal folder</p>\n"}, {'answer_id': 30180, 'author': 'Kibbee', 'author_id': 1862, 'author_profile': 'https://Stackoverflow.com/users/1862', 'pm_score': 1, 'selected': False, 'text': "<p>It may not include files that you normally wouldn't see. Or, the files may be there, but you may be unable to see them when reopening the .zip file in explorer, because they are hidden. You may go into Tools->Folder Options, go to the View tab, and select the radio button to view hidden files and folders.</p>\n"}, {'answer_id': 30195, 'author': 'aib', 'author_id': 1088, 'author_profile': 'https://Stackoverflow.com/users/1088', 'pm_score': 0, 'selected': False, 'text': '<p>It looks like the Compressed Folder shell extension ignores directories (but not files) whose names begin with a dot, unless explicitly given as a parameter (i.e. selected for the Send To command).</p>\n\n<p>It\'s hard to find out what else it excludes, as I can\'t even find out <em>what</em> the "compressed folder" sendto item is doing in the first place, without referring to 3rd party documentation.</p>\n\n<p>Edit:</p>\n\n<p>OK, the "Send to compressed folder" sendto shortcut has an extension of .ZFSendToTarget, which is handled by zipfldr.dll, which is doing all the work.</p>\n\n<p>@Kibbee:<br>\nMine does include hidden folders while zipping, though I do have "show hidden files" enabled.</p>\n'}, {'answer_id': 30204, 'author': 'Ishmaeel', 'author_id': 227, 'author_profile': 'https://Stackoverflow.com/users/227', 'pm_score': 3, 'selected': True, 'text': '<p>Send to zipped Folder does not traverse into folders without names before dot (like ".svn"). If you had other folders that begin with dots, those would not be included either. Files without names are not excluded. Hidden attribute does not come into play.</p>\n\n<p>Might be a bug, might be by design. Remember that Windows explorer does not allow creating folders beginning with dot, even though the underlying system can handle them.</p>\n'}, {'answer_id': 30237, 'author': 'bruceatk', 'author_id': 791, 'author_profile': 'https://Stackoverflow.com/users/791', 'pm_score': 1, 'selected': False, 'text': '<p>"Send to --> Compressed (zipped) Folder" creates a zip file.  What it puts in there is based on your settings.  It does not include hidden files with the default settings.  If you have your explorer view settings set as Kibbee mentioned to "Show hidden files and folders", then "Send to --> Compressed (zipped) Folder" will put the hidden files into the zip file.  </p>\n\n<p>There is what I would call a bug in XP where hidden folders aren\'t include when recursing a folder tree. You can get them if they are in the folder that you are in.  Recursing works in Vista.</p>\n\n<p>Files starting with "." have no special to windows except that Windows Explorer won\'t let you create one.  It is a valid file name though.</p>\n\n<p>I would recommend using something like <a href="http://www.7-zip.org/" rel="nofollow noreferrer">7-Zip</a> if your folders contain hidden/system files/folders.</p>\n'}, {'answer_id': 1193927, 'author': 'dgoyani', 'author_id': 134056, 'author_profile': 'https://Stackoverflow.com/users/134056', 'pm_score': 0, 'selected': False, 'text': '<p>Finally, I found that there is no straight forward way to ZIP the .svn folders and hence I moved to winRAR instead. Alternativaly you can also use winZip.</p>\n'}, {'answer_id': 2020029, 'author': 'jds210', 'author_id': 245484, 'author_profile': 'https://Stackoverflow.com/users/245484', 'pm_score': 1, 'selected': False, 'text': '<p>The Windows 7 implementation of Send to Compressed Folder behaves differently - it does include files / folders beginning with a dot (e.g. ".SVN") in the zip file.</p>\n'}]
['https://Stackoverflow.com/questions/30152', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3229/']