I have customised my Visual Studio (2010 express) project settings to separate project, source, temp, debug build, release build files, etc. in to appropriate sub-folders. The application I have created, when run in either debug or release mode, creates a config file (CreateFile()), but rather than creating that file in the debug or release directory it is created along side the project (.sln, .vxproj) files. It doesn't cause any problems other than separation of files that I'd like to ultimately ship together. When running the executables independently the files are created in the correct folder, alongside the exe. Can anyone advise me which project settings I need to adjust in order to get round this issue? Thanks.