My Documents vs Documents folder
Hi.
If you go to C:\Users\username and execute
dir
you get a listing of the true directories in the username directory, including
Documents
Music
Pictures
Videos
etc
In the same directory, if you execute
dir /a:l
you get a listing of the junctions in the username directory. Corresponding to the folders above, I only get one junction, namely....
My Documents
The junctions for My Music, My Pictures, My Videos appear to be missing.
However, if I look at this username directory in Windows Explorer I can see
My Documents
My Music
My Pictures
My Videos
I have 2 questions.
Why can't I see the REAL folders in Windows Explorer? Can I "turn on" this feature? I've tried creating my own junctions but when doing so I can see both the original file and the junction in Windows Explorer.
In Windows Explorer I can create files in My Music, for example, and the file ends up in the Music folder even though there is no junction for My Music in the username directory. How does Windows Explorer know when creating
a file in My Music that it should go into the Music folder?
Thanks for your help
June 14th, 2010 5:08pm
When I do a dir /a:l I get all the junctions I would expect:
Volume in drive C is D370_C
Volume Serial Number is C89E-70E8
Directory of C:\Users\xxxxxxx
12/11/2009 08:59 PM <JUNCTION> Application Data [C:\Users\xxxxxxx\AppData\Roaming]
12/11/2009 08:59 PM <JUNCTION> Cookies [C:\Users\xxxxxxx\AppData\Roaming\Microsoft\Windows\Cookies]
12/11/2009 08:59 PM <JUNCTION> Local Settings [C:\Users\xxxxxxx\AppData\Local]
12/11/2009 08:59 PM <JUNCTION> My Documents [C:\Users\xxxxxxx\Documents]
12/11/2009 08:59 PM <JUNCTION> NetHood [C:\Users\xxxxxxx\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
12/11/2009 08:59 PM <JUNCTION> PrintHood [C:\Users\xxxxxxx\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
12/11/2009 08:59 PM <JUNCTION> Recent [C:\Users\xxxxxxx\AppData\Roaming\Microsoft\Windows\Recent]
12/11/2009 08:59 PM <JUNCTION> SendTo [C:\Users\xxxxxxx\AppData\Roaming\Microsoft\Windows\SendTo]
12/11/2009 08:59 PM <JUNCTION> Start Menu [C:\Users\xxxxxxx\AppData\Roaming\Microsoft\Windows\Start Menu]
12/11/2009 08:59 PM <JUNCTION> Templates [C:\Users\xxxxxxx\AppData\Roaming\Microsoft\Windows\Templates]
0 File(s) 0 bytes
10 Dir(s) 41,511,018,496 bytes free
Are you setup to show hidden files and folders and Protected Operating System Files in Folder Options, View tab?Rich The only two things that are infinite in size are the universe, and human stupidity. And I'm not completely sure about the universe. - Albert Einstein
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2010 5:51am
Hi.
If you go to C:\Users\username and execute
dir
you get a listing of the true directories in the username directory, including
Documents
Music
Pictures
Videos
etc
In the same directory, if you execute
dir /a:l
you get a listing of the junctions in the username directory. Corresponding to the folders above, I only get one junction, namely....
My Documents
The junctions for My Music, My Pictures, My Videos appear to be missing.
Hi
This has to do with the naming conventions that are used in the underlying code for Windows. Sometimes these do not make a lot of sense to a typical user by the way they are presented in Windows Explorer, but there are reasons for the way they are used this
way.
The Junctions for My Music, My Pictures, and My Videos are there, but they are in the C:\Users\user name\My Documents folder
Run dir /al on this folder (C:\Users\user name\Documents) and you get the following.
<JUNCTION> My Music [C:\Users\user name\Music]
<JUNCTION> My Pictures [C:\Users\user name\Pictures]
<JUNCTION> My Videos [C:\Users\user name\Videos]
These Junctions are present for backwards compatibility, for legacy programs that are hard coded to look for a specific folder name in a specific location. They redirect legacy programs to the new location in Windows 7. They are placed where
legacy installer programs expect to find them. These Junctions all have the Everyone - Access Denied permissions. They should not be moved or changed.
However, if I look at this username directory in Windows Explorer I can see
My Documents
My Music
My Pictures
My Videos
I have 2 questions.
Why can't I see the REAL folders in Windows Explorer? Can I "turn on" this feature? I've tried creating my own junctions but when doing so I can see both the original file and the junction in Windows Explorer.
If you select the option to not show hidden files, you will only see the real folders. Junctions created by the system have the hidden attribute.
In Windows Explorer I can create files in My Music, for example, and the file ends up in the Music folder even though there is no junction for My Music in the username directory. How does Windows Explorer know when creating
a file in My Music that it should go into the Music folder?
I think what you are seeing is the file that is placed in the My Music folder is showing up in the 'Library' folder called Music. This is normal.
If you open the Library Music folder and select the Locations link at the top left of the window, you will see the folders that the Library is configured to display. It should show My Music and Public Music, by default.
Hope this helps.
Thank You for using Windows 7
Ronnie Vernon MVP
June 15th, 2010 1:23pm