修復更改 favorites路徑後,無法加入我的最愛的問題

修復更改 favorites路徑後,無法加入我的最愛的問題

文章kaku » 2012年 1月 10日, 16:12

http://social.technet.microsoft.com/Forums/zh-TW/windowsvistazhcht/thread/e33e5ff5-ecbb-46c0-a2c1-7f55d7d31133

http://www.winhelponline.com/blog/unspecified-error-when-adding-a-link-to-favorites-in-windows-vista/

fix_fav_il.zip

'Script to fix [Unspecified Error] when adding Favorites in Internet Explorer
'© Ramesh Srinivasan. Created on June 04 2008
'Based on the original solution from MS-MVP Jimmy Brush
'Website: http://www.winhelponline.com
'Fix the Integrity level of the relocated Favorites folder
'http://www.winhelponline.com/blog/unspecified-error-when-adding-a-link-to-favorites-in-windows-vista/
Const FAVORITES = &H6&
Set objShell = CreateObject("Shell.Application")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objShell.Namespace(FAVORITES)
Set objFolderItem = objFolder.Self
strFavPath = objFolderItem.Path

If objFSO.FolderExists(strFavPath) Then
strFavPath = chr(34) & strFavPath & chr(34)
objShell.ShellExecute "CMD.EXE", "/K ICACLS " & _
strFavPath & " /setintegritylevel (OI)(CI)low", "", "runas", 1
Else
Msgbox "Destination folder " & strFavPath & " is not found."
end If

Set objShell = Nothing
Set FSO = Nothing
您沒有權限檢視這篇文章所附加的檔案。
Kaku Liao 網路系統工程師
明泓科技顧問股份有限公司
RACE Computer Information Corp.
http://www.race.com.tw
頭像
kaku
系統管理員
 
文章: 193
註冊時間: 2011年 8月 25日, 14:09
來自: Taiwan

回到 Windows XP/Vista/7/8/8.1/10 討論區

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客

cron