Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows 7, folder and path name different  --  "My Documents"  or "Documents"

Posted on 2012-12-23
5
Medium Priority
?
686 Views
Last Modified: 2013-01-19
I noticed that the "My Documents"  folder at :    
 C: ->  users -> zzhang ->My Documents ->

Turns into a path:

C:\Users\zzhang\Documents

, when I clicked the path slot on the Window.  Not that I really care this normally, but when I install a software package (AGK -- developmet kit) , it  requires the package  to be insetalled at "My Documents"  not just "Documents"

And I got a messages from the system (don't exactly where)  "AGK not installed properly".
Before I start using the AGK under VC++ 2010,  I'd like to know everything setup properly.

Windows experts, AGK experts?  Thanks in advance

Ze
0
Comment
Question by:zzhang2006
5 Comments
 
LVL 99

Expert Comment

by:John Hurst
ID: 38717355
C:\Users\zzhang\Documents  is the correct representation and that is where Windows will find documents and some installation folders. I see that on my machine.

Windows uses junction points with names that point to real folders. So AGK should know this. Have you contacted the vendor (developers) to see if they can fix this?

.... Thinkpads_User
0
 
LVL 26

Expert Comment

by:pony10us
ID: 38717360
On my windows 7 machine I have both a c:\users\<user>\documents and c:\users\<user>\My Documents

Confirmed by using a command prompt and cd to each folder.

The contents of each is different.
0
 
LVL 12

Accepted Solution

by:
satsumo earned 1160 total points
ID: 38761403
The name of the user's Documents folder can be changed by the user.  You can just click its icon and call it whatever you want.  It isn't even guaranteed to be inside the users home directory.  A programs should get the path by calling a system function.  Assuming that it's called "My Documents", "Documents", any other name or path is wrong.  It's a software design flaw and it should be fixed.
0
 
LVL 1

Author Closing Comment

by:zzhang2006
ID: 38797371
Can I understand this way, one is the real folder name and one is a link to a real folder(like on symbolic link on Linux)? But even that I still confused, it makes "My Documents" like a shortcut to "Documents" , and I wonder which one is a shortcut to which. In my machine these two really just one single folder.
0
 
LVL 12

Expert Comment

by:satsumo
ID: 38797692
It is confusing and you do get multiple links to the same folder with different paths.  When a program asks for the users documents directory, Windows give it a path.  A program should use that path and not consider what it contains.

Windows has a setting for each user which is the location of their document folder.  The folder itself can use any vaild folder name.  To confuse things, certain parts of windows UI link to that folder by using a 'Documents' link.  This is what you might see on the Desktop and in the File Open dialog.  These are like Unix style symbolic links.

In Windows, folders don't have to relate to physical storage.  Desktop is not an actual folder, nether is Network, Printers, Control Panel and many other.  The 'Documents' icon you see most often is one of those icon types, it points to the physical storage path.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question