Add a program to the new desktop menu

Source: Internet
Author: User

First, you need to add the file type to the menu and start the application of such files. If it is a new file that will be automatically opened at startup or an application that you can use immediately, such as Notepad, WordPad, or drawing, no special preparation is required. But if the application does not automatically open the file at startup, you must create a common file template as required and save it in the shellnew folder in windows. This folder is hidden in some systems, so you may have to select "View" * "Folder Options" and select "show all files" on the "View" tab, click OK.

The following example describes how to add Word and Excel.

2. Select Start * Run and enter Regedit to open the Registry Editor. Click confirm ). Find the extension name of the file type you want to add to the "new" menu, right-click it, and select "new" * "primary key" (in the registry, each folder is a primary key ), name the new primary key "shellnew ". Select the new primary key, right-click in the blank window on the right, and select "add" * "string value ". If you use a file type, the program defaults to open a blank file at startup, the new string name is set to "nullfile"; if you use a file type, if the blank file is not automatically opened when the program starts, set the new string name to "FILENAME ". Double-click the "FILENAME" string icon (or press enter after selection) and enter the complete path and name of the file type template in the "key value" text box of the "Edit string" dialog box. Then press OK to exit the Registry Editor. You can immediately see the changes in the file list of the "new" menu. Open "hkey_classes_root" in the Registry Editor, open "Search" in the "edit" menu, enter "Doc", find "Doc" under "hkey_classes_root", and expand. Select "word. document.8" to create a primary key, name it "shellnew", right-click the blank window on the right, and add "string value", and name it "nullfile ". Open "my computer" and enter "C: \ WINDOWS \ shellnew" in the address bar. here we can see three files: winword8, excel9, and pwrpnt11 (note these three file names. If not, place the execution file of the file you want to add to the Add menu here. Double-click the string and enter "C: \ WINDOWS \ shellnew \ winword8133" in "value data" in the "Edit string" dialog box. After confirmation, restart explerer.exe. Right-click the new bucket and check whether the word is already in use? Excel is similar to this method. 3. It is easy to delete the new menu. You only need to delete the "nullfile" created above.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.