Add status icons over file icons in Explorer, like Dropbox or SVN in .NET

前端 未结 3 1237
闹比i
闹比i 2020-12-24 15:24

I\'m writing a Windows service application in C# with FileSystemWatcher.

How can I add status icons to files and folders in Windows Explorer similar to

3条回答
  •  一整个雨季
    2020-12-24 16:15

    I've never play with this, but I think it's the right way.

    Custom Folder

    First make the folder a System Folder, then create a Desktop.ini file and apply the change inside.

    [.ShellClassInfo]
    InfoTip=@Shell32.dll,-12690
    IconFile=%SystemRoot%\system32\SHELL32.dll
    IconIndex=-238  
    

提交回复
热议问题