The "vista" folder structure - in all its insanity

Can somebody explain it to me? How are the major important files in Vista laid out? What folders are the most important data in? And how is it different from the way that XP does it.

In particular, I'd like these confusing points addressed:

- The "Documents and Settings" folder seems to exist alongside the "Users" folder, and most of the time it isn't accessible. When you try to access it, it appears to contain the same data as the Users folder. Duplicated data?

- In addition to the "All Users" user profile, there is also a "Public", "Default" and "Default User" profile, which seems to be redundant?

- The "Application Data" folder exists alongside the "AppData" folder.

- ..and if that wasn't confusing enough, there also seems to be a "C:\ProgramData" folder.

- The "Users\[username]\Documents, Pictures, Videos" etc. folders seem to be some kind of symbolic links to the "Documents and Settings\[username]\..." folders

- The recycling bin folder has changed. It has a dollar sign in it now?



What on earth is going on here? Is this supposed to be some archaic attempt at changing the folder structure and still maintaining backwards compatibility with XP?
LVL 31
Frosty555Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

qz8dswCommented:
1) "When you try to access it, it appears to contain the same data as the Users folder. Duplicated data?"
Not duplicated, more symbolic links.

2) "there is also a "Public", "Default" and "Default User" profile, which seems to be redundant?"
Depending on your flavour of Vista they are not redundant. Default User was used under XP and any new user created took on the default users profile (as it was copied). Mainly for start menu, desktop etc type icons.
But your right, depending on your use of Vista the public profile can most definately be redundant.

3) Yup and Yup.
Think of AppData replacing Application Data and ProgramData is sort of system wide setting for programs. (As opposed to user settings).

4) Yup, correct. (read my answer to number 6).

5) Yup, it does.

6) "Is this supposed to be some archaic attempt at changing the folder structure and still maintaining backwards compatibility with XP?"
I don't think they are trying to maintain backwards compatability, BUT there are still sloppy programmers who hardcode the directories. As an example, Using %appdata% would take you to the application data directory under your profile.
HOWEVER the way I see it they needed a way to try and make sure programmers who didn't use the % variables available for they settings or registry keys could still find a way to their data on an upgrade.
So symbolic links would have seemed the easiest way rather than re-writing the registry keys.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Darr247Commented:
> ..and if that wasn't confusing enough, there also seems to be a "C:\ProgramData" folder.

I believe that one is linked to the "C:\Users\All Users" folder, too.
0
John GriffithConsultantCommented:
Hi -
Yes, c:\users\all users = c:\ProgramData
Here is a MSDN piece on Vista Junctions and the folder to which they re-direct (some XP folders are now Vista Junctions) - scroll about 1/2-way down the page - http://msdn.microsoft.com/en-us/library/bb756982.aspx
0
John GriffithConsultantCommented:
I obtained this listing from the registry - (hope it helps) -

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
   
    AppData        %USERPROFILE%\AppData\Roaming
    Cache          %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files
    Cookies        %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies
    Desktop        %USERPROFILE%\Desktop
    Favorites      %USERPROFILE%\Favorites
    History        %USERPROFILE%\AppData\Local\Microsoft\Windows\History
    Local AppData  %USERPROFILE%\AppData\Local
    My Music       %USERPROFILE%\Music
    My Pictures    %USERPROFILE%\Pictures
    My Video       %USERPROFILE%\Videos
    NetHood        %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Network Shortcuts
    Personal       %USERPROFILE%\Documents
    PrintHood      %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
    Programs       %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
    Recent         %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent
    SendTo         %USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo
    Startup        %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    Start Menu     %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
    Templates      %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Templates
   
	%USERPROFILE% = c:\users\username

Open in new window

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Vista

From novice to tech pro — start learning today.