We are creating a game that will soon add a level editor function. We want the user to be able to set the levels that he uploaded to the folder, and then play them in the game without any hassle. So, we are looking for a folder that anyone can find, open, write, read and multi-user. In Windows Vista / 7, the / Users / Public / folder looks like a great candidate. However, it is not listed in the .net enum System.Environment.SpecialFolder. I went through all of them and checked what they give in different versions of Windows, and no one meets my requirements.
I found Environment.SpecialFolder.CommonApplicationData that works, but this folder is hidden (C: \ ProgramData), and I assume that most users do not display hidden folders.
As it seems now, we will need to solve the problem with the folder of personal documents, but we would really like the folder with several users.
Does anyone have any clues?
(Hard coding c: \ Users \ Public \ is out of the question, it will work only on English systems)
reallyjoel
source share