Take the 2-minute tour ×

I have app that uses Settings. To save settings I use:


To read tham I use:


In my folder with application I have only exe file. No config files. My application works good, can read write settings.

Where is that file located if it is not in application folder?

share|improve this question
duplicate of stackoverflow.com/questions/481025/… –  V4Vendetta Apr 26 '11 at 11:04
add comment

3 Answers

up vote 7 down vote accepted

On My Windows XP machine, the settings are saved in a file called user.config somewhere under either C:\Documents and Settings\<UserName>\Application Data\ or C:\Documents and Settings\<UserName>\Local Settings\Application Data\


On Windows Vista and later, the locations have changed to C:\Users\<UserName>\AppData\Roaming\ and C:\Users\<UserName>\AppData\Local\

share|improve this answer
add comment

This depends on what SettingsProvider you are using. By default, this is the LocalFileSettingsProvider

Quoting from that page:

Application-scoped settings and the default user-scoped settings are stored in a file named application.exe.config, which is created in the same directory as the executable file. Application configuration settings are read-only. Specific user data is stored in a file named user.config, stored under the user's home directory.

They may also go to the %APPDATA%

share|improve this answer
add comment

I don't know the specifiek path but i think it's in documents and settings Place a breakpoint on the Save and the path should be visable in one of the members/submembers of Properties.Settings.Default

see this post

share|improve this answer
add comment

Your Answer


