I am wondering what is the best folder to use to store config files (ini
, xml
) and log files for a Windows service.
According to the special folders list on msdn, it seems that CommonApplicationData (= C:\ProgramData
on Windows Vista/7/Server 2008 (R2)) is the best suited place :
CommonApplicationData = The directory that serves as a common repository for application-specific data that is used by all users.
Any other advice?