在Windows 7下,我似乎无法让图标显示出来,我真的很怀念Windows XP的这一点。

如何解决?


当前回答

这些解决方案的组合对我很有效。我试图杀死并重新启动explorer.exe,由@LeighRiffel建议。没有工作。我卸载了dropbox,因为我很少使用它。然后,我又试了一次探索者,它成功了。也许你可以在这之后重新安装dropbox,看看事情是否还好?不过我不在乎。

步骤如下:运行taskmgr.exe或任务管理器> processes选项卡>选择explorer.exe > kill。然后点击文件选项> new task > enter explorer.exe > ok。

其他回答

勒!

在对你的注册表或Kris Erickson(优秀的)回答或下面列出的类似程序做任何事情之前,有一些事情需要考虑……

您是在网络驱动器上吗?

如果有,进入TortoiseSVN设置(右键单击任意文件夹> TortoiseSVN > settings),然后进入“图标叠加”

确保你选中了“网络驱动器”,如图所示:

默认情况下,在新的Tortoise安装中,网络驱动器没有添加图标。

这为我们解决了问题。如果这对你来说失败了,那么显然你可以通过这里列出的(稍微)复杂的解决方案。

我的偶像也消失了。注册表修复对我也不起作用。

我是这样把它们找回来的:

安装最新版本的tortoiseoverlay 重启资源管理器

更改注册表对我有用。

如果它对任何人都有帮助,我最初在“ShellIconOverlayIdentifiers”中添加了“z_”前缀,我想向下移动。然而,这似乎并没有带来TortoiseSVN条目。这可能是由于大小写敏感,小写的“z”仍然在大写的“T”之前。最后,在前缀加上“Z_”就成功了。

可能出现的问题和解决方案

Windows限制可用的覆盖图标的数量,参考Kris Erickson的回答。 TortoiseSVN设置不当,参考Ralph Cowling的回答。 从早期版本(1.6.10之前)更新的已知错误,请参阅这里。 TortoiseSVN并不是为所有用户安装的,尝试像下面这样用cmd安装,如果下面三个解决方案都不工作,我相信这个方法会挽救你的生命。


rem Set your own path.
set TOOL_ROOT=d:\Tools\TortoiseSVN-1.6.13.20954-win32-svn-1.6.16\tortoisesvn_1.6.16.21511
set PACKAGENAME=TortoiseSVN-1.6.16.21511-x64-svn-1.6.17.msi
set TOOL_INSTALLROOT="c:\Program Files (x86)\TortoiseSVN"

msiexec /i "%TOOL_ROOT%\%PACKAGENAME%" INSTALLDIR=%TOOL_INSTALLROOT% ALLUSERS=1 ARPSYSTEMCOMPONENT=1 RebootYesNo=No REBOOT=ReallySupress /qb-

set ret=%ERRORLEVEL%

rem The installer seems to return same values as MSI
rem These codes mean that the product is properly installed, even though the code is not zero.
rem 1641 ERROR_SUCCESS_REBOOT_INITIATED
rem 3010 ERROR_SUCCESS_REBOOT_REQUIRED
if %ret% EQU 1641 set ret=0
if %ret% EQU 3010 set ret=0
if %ret% GTR 0 exit %ret%

Windows只能显示有限数量的覆盖图标(总共15个,在Windows之后有11个)。像Office Groove, Dropbox, Mozy, Carbonite等程序将劫持一堆11种可能的覆盖图标(如果微软增加这些图标的数量,因为使用它们的应用程序的数量似乎越来越多)…

你可以看到设置了哪些覆盖,并在注册表中更改它们(自担风险):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers

If you are using TortoiseCVS (and have nothing else using overlay icons), you will get a couple of TortoiseSVN Icons, and all of your TortoiseCVS icons. This is because the overlay icons are used in alphabetical order. Again, at your own risk (editing the registry may blow up your computer, yada, yada, yada -- and if you are reading Stack Overflow and using Windows and haven't edited the registry, you are a rare beast indeed), feel free to rename them (I suggest putting numbers in front of the ones you want to use and "z_"'s prefixed to the ones you don't need). The TortoiseSVN Shell extensions are nicely named so you know what they do, the TortoiseCVS extensions are not. After looking through the source code, I found the pertinent information:

TortoiseCVS0 -在CVS TortoiseCVS1 -不在CVS中 TortoiseCVS3 -冲突 TortoiseCVS4 -在CVS只读 乌龟ecvs5 -忽略 乌龟ecvs6 -新增 TortoiseCVS7 -删除 龟龟ecvs8 -锁定