Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The ethics of using 'My Documents' as a dumping ground [closed]

Tags:

storage

Something I've wondered about for a while now and would like to get a general opinion on:

Advanced apologies if this has been asked previously, I did a search and couldn't find anything similar. This question is related to questions like, "Correct location to save a temporary file in Windows?" , but not quite the same.

I've noticed over the years spent with Windows, from XP to Vista and now to 7, that the 'My Documents' directory has slowly turned from being a place where you're encouraged to place personal 'stuff' into a dumping ground for any junk any random application wants to store.

For example, if I look now at the 'My Documents' directory on my work xp machine, there are folders for Adobe, FX Composer, Maya, Processing, Visual Studio 2005/2008, Visual Studio Samples, Window Clippings, Evernote.... the list goes on and on.

In fact, the last thing that I'd ever use that folder for now is storing my 'stuff' - the very thing it was intended to do. I personally find storing my actual documents in there, along with these random application settings too disorganized and painful to sort through. Plus there are added headaches with backup software etc... The signal to noise ratio just becomes appalling.

Lamenting aside, I now find myself in the position of writing some code where I want to store some settings related to my application. These settings ideally should be 'global' (our software gets regular updates), so storing them in some Program Files directory that's likely to be ephemeral won't work. While settings themselves could be stored in the registry, what about backup files, compressed archives, samples, etc etc...

So really what I'm asking is, what's the right solution for this situation? Do I follow the crowd and use 'My Documents' as a dumping ground? Is that folder a write-off anyway, or am I adding to the problem?

Do you use 'My Documents' as a storage area for your applications? Do you share my frustration with all the junk that turns up in there?

The users of my software are semi-tech-savy, so would probably understand it's just a directory like any other (and so could handle it being elsewhere) - but I guess Aunt Edna isn't going to understand that, so does the answer depend on context?

Thanks in advance!


Edit:

Thanks for the suggestion of %APPDATA% - I guess this is fine for application settings and files that shouldn't be exposed to the user, but what about files that might be useful for the user to move/manage themselves? Is My Documents the only solution or should I still stick to %APPDATA% ?

like image 976
Ali Parr Avatar asked Oct 22 '09 10:10

Ali Parr


4 Answers

If these are application-private files (i.e. not user-visible documents) then isn't this what the %APPDATA% folder is for?

like image 95
hobbs Avatar answered Nov 09 '22 21:11

hobbs


Just make this configurable at install time, and later by the user. Ideally give them just two choices, one being My Documents and one being APPDATA.

Make APPDATA the default but do allow this to be easily changed at install time for enterprise admins who want everything in the My Documents folder which is automatically archived.

like image 38
Michael Dillon Avatar answered Nov 09 '22 19:11

Michael Dillon


Not a good idea as a 'dumping ground', but it simplifies backup, for a start.

In my workplace, users' My Documents folders are all on a network drive for ease of capture by an automatic backup system.

like image 4
pavium Avatar answered Nov 09 '22 20:11

pavium


Just because applications are dumping stuff into "My Documents" doesn't mean they should. At the very least, if you need to dump things there, then make the folders hidden. Really, you should use %APPDATA%.

like image 3
Michael Aaron Safyan Avatar answered Nov 09 '22 20:11

Michael Aaron Safyan