How does WinXP's “Send to Compressed (zipped)

2019-05-06 16:39发布

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

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.

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?

Thanks, Tom

EDIT:

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.

Thanks...

7条回答
叼着烟拽天下
2楼-- · 2019-05-06 17:27

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).

It's hard to find out what else it excludes, as I can't even find out what the "compressed folder" sendto item is doing in the first place, without referring to 3rd party documentation.

Edit:

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.

@Kibbee:
Mine does include hidden folders while zipping, though I do have "show hidden files" enabled.

查看更多
登录 后发表回答