Modify registry improvement system (1)

Source: Internet
Author: User

1. Add a new file type in the "new" menu

In Windows, many built-in file types are provided in the "new" menu of the shortcut menu to help you quickly create a new file, for example, "WinZip Files", "text files", "Microsoft Word documents", "BMP images", "sound files", "other Office documents", and "Adobe PhotoShop Image" are provided. create a new file of the file type. However, because of the difference in the use of computers, sometimes we need to use a large number of other file formats, in order to facilitate the creation of our own file formats. Assume that we have created a sequence file type, and then added the file type to the "new" menu. The next step is to add it.

First, use the "Notepad" program in the "attachment" group to enter the following text and save it as pdf. reg.
REGEDIT4
[HKEY_CLASSES_ROOT \. pdf]
@ = "PdfFile"
[HKEY_CLASSES_ROOT \ pdfFile]
@ = "Pdf file"
[HKEY_CLASSES_ROOT \ pdfFile \ shell]
[HKEY_CLASSES_ROOT \ pdfFile \ shell \ open]
[HKEY_CLASSES_ROOT \ pdfFile \ shell \ open \ command]
@ = "\" C :\\\\ Windows \\\ NotePad. EXE \ "\\" % 1 \\""
[HKEY_CLASSES_ROOT \ pdfFile \ shell \ print]
[HKEY_CLASSES_ROOT \ pdfFile \ shell \ print \ command]
@ = "\" C :\\\\ Windows \\\ Notepad. EXE \ "/p \" % 1 \\""
[HKEY_CLASSES_ROOT \ pdfFile \ shell \ printto]
[HKEY_CLASSES_ROOT \ pdfFile \ shell \ printto \ command]
@ = "\" C :\\\\ Windows \\\ Notepad. EXE \ "\" % 1 \ "\" % 2 \ "\" % 3 \ "\" % 4 \\""
[HKEY_CLASSES_ROOT \ pdfFile \ DefaultIcon]
@ = "C :\\\\ Windows \\\ Notepad. EXE, 1"
[HKEY_CLASSES_ROOT \ pdfFile \ Insertable]
@ = ""
[HKEY_CLASSES_ROOT \ pdfFile \ protocol]
[HKEY_CLASSES_ROOT \ pdfFile \ protocol \ StdFileEditing]
[HKEY_CLASSES_ROOT \ pdfFile \ protocol \ StdFileEditing \ verb]
[HKEY_CLASSES_ROOT \ pdfFile \ protocol \ StdFileEditing \ verb \ 0]
@ = "Edit (& E )"
[HKEY_CLASSES_ROOT \ pdfFile \ protocol \ StdFileEditing \ server]
@ = "C :\\\\ Windows \\\ Notepad. EXE"
The secret file extension has been added to the root key of HKEY_CLASSES_ROOT, and then HKEY_CLASSES_ROOT \ is enabled \\. add a "ShellNew" subkey under the pdf branch, and add an empty string named "NullFile" to the "ShellNew" subkey. Close the Registry Editor and restart the computer! Open the "new" menu and we find that the "pdf file" option is added in the "new" menu.

2. Modify Windows 98 system settings through the Registry

Open HKEY_CURREN T_USER \ Software \ Microsoft \ Windows \ CurrentVesion \ and you will see some subfolders. Here are some of the current system settings, let's modify some folders to implement special functions:
① ProductKey is the registration code used to install Windows 95/windows 98.
② When we install many Microsoft software and some other software, we will find that the system has already defaulted to one user and user unit. This default value is entered when Windows 95/98 is installed, if you want to modify this user setting, you only need to change the value of RegisteredOwner and Registered Organization on the right. The value type is a string.
③ In this folder, the Run sub-Folder also has the same function as the Run function in function 1, which is also used to Run some programs when the system starts, you can delete programs that do not need to be started.
④ RunServices subfolders. The projects in these folders refer to the programs run using windows95/98 as services. These programs are also run as services at startup, for example, Microsoft's permissionweb Server, Wingate, and other small Server software. Generally, you do not need to move them to avoid unnecessary troubles.
3. Set two IP addresses for one machine

Generally, only one IP address can be bound to one network adapter. However, you can bind multiple IP addresses to one network adapter by modifying the system registry: open the branch of the HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ Class \ NetTrans directory. You can see multiple branches named 0000, 0001, 0002... Directory, which is used to record the installation of the Protocol. Find the directory where DriverDesc is "TCP/IP" and modify the IPAddress and IPMask keys. IPAddress is multiple IP addresses separated by commas, and IPMask is the corresponding mask. For example, if you set IPAddress to "192.168.0.3, 192.168.0.5", IPMask to "255.255.255.0, 255.255.255.0", two IP addresses 192.168.0.3 and 192.168.0.5 are set for the system.


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.