Home » » Vista Tweaks and Trick Vista的調整和技巧 , XP Tweaks XP中調整

How to create a system folder in My Computer如何建立一個系統文件夾中我的電腦

System folder like My Document which appears in My computer are special folders which appear can not be deleted.系統文件夾像我的文檔出現在我的電腦是特殊的文件夾出現無法刪除。 Now if you want to create something like that, a folder which cannot be deleted!!!!如果你現在想建立類似的東西,一個文件夾不能被刪除! ! . Here is how you do it to create a folder which cannot be deleted!!.這裡是你如何做到這一點,以創建一個文件夾不能被刪除! 。 It should work both in XP and VISTA.它應該在XP和Vista 。

However a word of caution, If you don’t know about registry, either back up or don’t try this.但是一個字謹慎,如果你不知道的註冊表,無論是備份或不要嘗試這一點。 I am not sure how to create a direct script for this so be cautious.我不知道如何建立一個直接的劇本如此謹慎。

Step 1: Create a Unique Key第1步:建立一個獨特的關鍵


  • Open registry with “regedit” command on run window.開放註冊的“註冊表”命令運行窗口。
  • Navigate to HKEY_CLASSES_ROOT\CLSID\.轉到HKEY_CLASSES_ROOT \ CLSID中\ 。 Then right click and create a new key with value as {FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}然後點擊右鍵並創建一個新的重要的價值( FD4DF9E0 - E3DE - 11CE - BFCF - ABCD1DE12345 )
  • Now set the default value of this key to the folder name you want to use.現在設置的默認值這個關鍵的文件夾名稱要使用。 Now your path will look like ( I will call this as parent key throughout the discussion) HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}現在您的路徑將看起來像(我會請家長,這是關鍵的整個討論過程) HKEY_CLASSES_ROOT \ CLSID中\ ( FD4DF9E0 - E3DE - 11CE - BFCF - ABCD1DE12345 )

System Folder

Step 2: Add Custom Icon to the folder第2步:添加自定義圖標的文件夾


  • Now create a sub key under parent key.現在,創建一個子鍵下母公司的關鍵。
  • Name it as “DefaultIcon”.將它命名為“ DefaultIcon ” 。
  • Set the default value of this to the path of the icon image you want to use.設置的默認值,這道路的圖標形象要使用。
  • If you dont specify your icon, system will take default icon.如果您不指定您的圖標,系統將默認圖標。

Step 3: Adding attributes第3步:添加屬性


  • Under parent key create another key with name as “InprocServer32″根據母公司的關鍵創建另一個關鍵的名稱為“ InprocServer32 ”
  • Set the default value as “shell32.dll”設置默認值為“ shell32.dll ”
  • Again at the same level create another folder as “ThreadingModel” and set its value as “Apartment”再次在同一水平創造另一個文件夾作為“的ThreadingModel ” ,並設置其值為“公寓”
  • Same way create another key (under parent level) at the same level with structure as \Shell\My Folder\Command同樣的方式創造另一個關鍵(下父級)在同一水平與結構\殼牌\我的文件夾\司令部
  • Set the default value here as “explorer /root,c:\Blog Data”設置的默認值這裡的“探險家/根為C : \博客數據”
  • This has to be same which you gave when you created the first key.這是相同的,您給當你創建了第一個關鍵。

Step 4 Adding Handlers第4步加處理


  • Under parent key, create another key as \ShellEx\PropertySheetHandlers\ {FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}根據母公司的關鍵,創造另一個關鍵的\ ShellEx \ PropertySheetHandlers \ ( FD4DF9E0 - E3DE - 11CE - BFCF - ABCD1DE12345 )
  • Similar way another key is to added to parent key as “Shell Folder”類似的方法的另一個關鍵是要增加母公司的關鍵是“殼牌文件夾”
  • In this right click and create new binary value called as “Attributes” with value as 00 00 00 00.在此右鍵,並創造新的二進制值稱為“屬性”與價值的00 00 00 00 。

Step 5: Settings to place in My Computer第5步:設置在我的電腦


  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows轉到HKEY_LOCAL_MACHINE \軟件\微軟\的Windows
  • Then to \CurrentVersion\Explorer\MyComputer\NameSpace\然後到\ CurrentVersion \ Explorer中\的電腦\名稱空間\
  • Add the parent key which in this case is {FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}購買母公司的關鍵而在這種情況下是( FD4DF9E0 - E3DE - 11CE - BFCF - ABCD1DE12345 )

System Folder

Thats it, You are done.多數民眾贊成它,您的工作要做。 Try this carefully and I am sure there wont be any problem.試試這認真,我相信有慣於有任何問題。 I missed the icon thing somehow, but will sure fix it.我錯過了多少圖標的事情,但將確保修復。 Till then if you find a fix do tell me.至此如果你找到一個解決這樣告訴我。

Update by Shaun:更新的肖恩:

How to fix the icon problem with system folder :如何解決問題的圖標與系統文件夾:

As per the icon issue, I had the same issue then realized it was just looking for the icon index at the end of the file path and is accomplished with a comma and your index number.按照圖示的問題,我有同樣的問題,然後實現它只是想要的圖標指數結束時的文件路徑,並完成一個逗號和您的索引號碼。 If your using an .ico file the index will be 0 otherwise you’ll have to determine the index number if your using a dll or exe with multiple icons.如果您的使用。伊科文件的索引將0否則,你就必須確定指數如果你使用的是DLL或EXE多個圖標。 ie for an .ico file c:\path\Icon.ico即一個。伊科檔案c : \路徑\ Icon.ico

Tags:標籤: , , , ,

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese Traditional中文翻译/Chinese Simplified한국어에게 번역하십시오/Korean日本語に翻訳しなさい /JapaneseTraduza ao Português/PortugueseTraduca ad Italiano/ItalianTraduisez au Français/FrenchTraduzca al Español/Spanish
短信訂閱Print This Post

Posted on 5th September 2007 by 5日發布2007年9月 Ashish Mohta Ashish Mohta , A tech blogger who writes about solving day to day problems of people who use computer.一個高科技博客誰寫了關於解決日常問題的人誰使用計算機。 He also writes on How to use the applications like Office, PC tips, Online tools,Browsers and more. All posts by他在書中還對如何使用應用軟件,如辦公室,電腦提示,在線工具,瀏覽器和更多。 所有職位 Ashish Mohta Ashish Mohta | Connect with me @ |與我聯繫@ Twitter 嘰嘰喳喳 | | Linkedin LinkedIn的 | | Facebook 臉譜 | | Stumble 失敗 | Need more help? |需要更多的幫助? Ask your Questions at our 問問你的問題在我們的 Support Center 支援中心



5 Comments 5評論 »

  • Rishi Rishi said: 說:

    Nice information.尼斯的信息。 In depth presentation and good hack.在深入的介紹和良好的黑客。 I don’t know what is this InprocServer32.我不知道這是什麼InprocServer32 。 Can you please elaborate?能否請您詳細說明?

  • David said: 大衛說:

    Great article!大文章!

    I’m having trouble understanding step 3.我無法理解第3步。 When you say “create another folder” do you mean another “key”?當你說“創造另一個文件夾”做你的意思是一個“關鍵” ?

    and what does “structure as” refer to?和什麼“結構”指什麼? I can’t use the “\” character in a key…我不能使用“ \ ”字符的一個關鍵...

    Would appreciate any explanation clarification for a newbie.將不勝感激任何解釋澄清一個新手。

    Thanks!謝謝!

  • Ashish Mohta Ashish Mohta (author) said: (作者)說:

    David, yes I mean a KEY, sorry about giving a wrong word there.大衛,是我的意思是一個重要的抱歉給了錯誤的字有。

    And Structure I mean not as “\” but like parent child relationship.和結構我的意思是不是“ \ ” ,但像父母子女關係。 Create Shell then under it My Folder and then under that Command.創建殼牌然後我下文件夾,然後根據該命令。 Here under command you need to create a value with data as explorer /root,c:\Blog Data”在這方面下命令你需要建立一個價值的數據瀏覽器/根為C : \博客數據“

    Hope this helps.希望這會有所幫助。 Do let me know if you would need more details.不要讓我知道,如果您需要更多的細節。

    Ashish

  • pipin said: pipin說:

    owh that is my problem, u explain how to make it, owh這是我的問題,呂解釋如何使它,
    can you help me how to delete it?你能幫助我如何刪除呢?

  • Kalif Davis said: Kalif戴維斯說

    Is there a way to create a new shell folder like my documents for folder redirection.有沒有一種辦法來創建一個新的shell文件夾就像我的文件,文件夾重定向。 I have a foxpro app that by design exclusively locks c:\vfp and c:\temp on the win 2k3 server once a user accesses the app.我有一個數據庫應用程序,通過專門設計的鎖ç : \ VFP中和c : \氣溫就贏得2k3服務器一旦用戶接入應用。 User 2 gets access denied.用戶第2得到拒絕訪問。 I want to redirect both of those folders to the clients local c:\ drive to avoid the locking error.我想重定向這兩個文件夾,本地客戶C : \磁碟機,以避免鎖定的錯誤。

Leave your response!離開你的答复!

Be nice.很好。 Keep it clean.保持清潔。 Stay on topic.留在話題。 No spam.沒有垃圾郵件。

You can use these tags:您可以使用這些標籤:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>