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 how Dropbox or SVN do it?
You should develop an overlay icon handler and register it into the system.
Here you can find a partially working example written in C#.
Some MSDN documentation here and here.