开发者

Application Data folder in Windows 7

I have Windows 7 64 bit installed on my system. I have a question about "C:\ProgramData\Application Data" folder. It is mentioned here and here that "Application Data" is a Junction point which points to C:\ProgramData. So, i would expect the following command to list the contents of the C:\ProgramData fol开发者_StackOverflow社区der (my ProgramData folder has folders like McAfee, Microsoft, Adobe, etc..)..

cd /d "c:\ProgramData\Application Data"

dir

However i do not see anything listed...However, if i were to traverse 1 more directory deeper and list the contents, then all the folders under that directory are listed...

cd /d "c:\ProgramData\Application Data\McAfee

dir

I do not understand this behaviour. Would anyone explain?


It's to allow backward compatibility for programs that assume the old name but to also prevent programs recursing the tree and finding both copies.

Here's an article about this from Raymond Chen - I thought he did it on his blog, though, so maybe there's more there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜