日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > windows >内容正文

windows

WIN7系统中连接点(Junction Points)

發(fā)布時間:2025/3/15 windows 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 WIN7系统中连接点(Junction Points) 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

與xp、win2003相比,win7、win2008(包括win2008R2)系統(tǒng)中,存放用戶數(shù)據(jù)(user data)和系統(tǒng)數(shù)據(jù)(system data)的默認(rèn)文件夾位置發(fā)生變化。例如,在xp中存放用戶數(shù)據(jù)的文件為%SystemDrive%\Documents and Settings;在win7中則為%SystemDriver%\User。這樣的變化無疑對以前應(yīng)用程序能否在win7下順利帶來兼容性問題。為了最大程度地保證對以前在xp運(yùn)行程序的兼容性,在win7中采用了junction points(連接點)技術(shù)。通過這個技術(shù),原來在xp下運(yùn)行的程序?qū)?SystemDrive%\Documents and Settings文件夾下的數(shù)據(jù)存取操作,能自動的更改到%SystemDriver%\User文件夾。

我們可以將junction point看做是一個快捷方式(shortcut) ,它具有以下特性:

  • 具有FILE_ATTRIBUTE_REPARSE_POINT, FILE_ATTRIBUTE_HIDDEN, and FILE_ATTRIBUTE_SYSTEM屬性
  • 具有ACLs(Access Control Lists),拒絕everyone的讀操作

這樣,在win7系統(tǒng)中,只有具有存取權(quán)限,舊程序?qū)鲜铰窂降恼{(diào)用會通過 junction point,轉(zhuǎn)而存取win7下的用戶數(shù)據(jù)文件或系統(tǒng)數(shù)據(jù)文件夾。

例如win7為每個用戶創(chuàng)建連接點,將舊式的?C:\Users\username\My Documents指向win7下C:\Users\username\Documents。?下表是

xp、windows2003中的路徑

win7、windows2008中的路徑

\Documents and Settings

\Users

\Documents and Settings\Default User or
%LOGONSERVER%\NETLOGON\Default User

\Users\Default or
%LOGONSERVER%\NETLOGON\Default

\Documents and Settings\<user>\My Documents

\Users\<user>\Documents

\Documents and Settings\<user>\My Documents\My Pictures

\Users\<user>\Pictures

\Documents and Settings\<user>\My Documents\My Music

\Users\<user>\Music

\Documents and Settings\<user>\Favorites

\Users\<user>\Favorites

N/A

\Users\<user>\Contacts

N/A

\Users\<user>\Downloads

N/A

\Users\<user>\SavedGames

\Documents and Settings\<user>\Application Data

\Users\<user>\AppData\Roaming

\Documents and Settings\<user>\Local Settings\Application Data

\Users\<user>\AppData\Local

\Documents and Settings\<user>\Start Menu

\Users\<user>\AppData\Roaming\Microsoft\Windows\ Start Menu

\Documents and Settings\All Users

\Users\Public

\Documents and Settings\All Users\Start Menu

\ProgramData\Microsoft\Windows\Start Menu

\Documents and Settings\All Users\Desktop

\Users\Public\Desktop

?

參考:

1. junction point in vista?

2. managing roaming user data delployment guide

轉(zhuǎn)載于:https://www.cnblogs.com/protorock/archive/2012/12/21/2827316.html

與50位技術(shù)專家面對面20年技術(shù)見證,附贈技術(shù)全景圖

總結(jié)

以上是生活随笔為你收集整理的WIN7系统中连接点(Junction Points)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。