I use my Mac in a corporate Windows environment all the time, and have it set so that it doesn't drop .DS_Store turds all over the network. I used the following well-known terminal command to disable it:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
However, I also have a server at home as well as a Time Capsule, and I would like the .DS_Store file created on those shares.
Is there any way to make an exception to the rule?
I'm running Mavericks BTW.