Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Common commands of dos

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The first part File and folder operation: rd delete folder for example: rd / s / Q f:\ wo recursively delete the name of the md folder deltree delete directory tree cd > a.txt type > a.txt copy nul > a.txt create empty files echo "file contents" > a.txt create non-empty file del file name copy source file name Destination file name path copy source file name 1 + source file name 2 destination file name path REN modify file name cd. Cd / d: dir displays all files under the current folder TYPE filename display file content part 2, process and ip port And date and time. Version information cls clear screen tasklist view all processes tasklist | find "process name" taskkill / pid process number taskkill / IM "process name .exe" taskkill / F / pid process number forcibly kills process netstat-aon | find "80" or netstat-ano | findstr "80" check whether the port number is occupied winver view windows version winmsd system information VER View system version number HELP part 3 View hardware information ipconfig view local ip information ping ip address view ip address network link route print view routing table regsvr32 / u * .dll stop dll file running DATE setting or display system date TIME setting or display system period discopy disk copy chkdsk disk name check your disk usage mem to see how much memory is in your computer And memory usage. FDISK partition command FORMAT [drive letter] [parameter] / Q Quick format / s complete the format and copy the system to the disk for one year to the file dxdiag check DirectX information part IV Open Administrative tools compmgmt.msc computer Administration diskmgmt.msc disk Management Utility devmgmt.msc device Manager regedit.exe Registry gpedit.msc Group Policy explorer Resource Manager notepad notepad Msconfig.exe system configuration Utility sfc.exe system File Checker mmc Console taskmgr Task Manager services.msc Local Service Settings secpol.msc Local Security Policy part 5 Information about the registry what is the registry? Starting with Windows 95, Microsoft introduced the concept of registry (REGISTRY in English) in Windows (in fact, this concept already existed in Windows NT). The registry is the core database of Windows 95 and Windows 98. Various parameters are stored in the registry, which directly control the startup of Windows, the loading of hardware drivers and the normal operation of some Windows applications. If the registry is destroyed due to whipping, the startup process of Windows is abnormal in light cases, and the whole Windows system may be paralyzed completely in serious cases. Therefore, it is very important for Windows users to correctly understand, modify, back up in time and restore the registry when there is a problem. How does ★ open the registry? (please back up before repairing the registry) click "start" → run → enter "regedit" → to determine the ★ one, the structural division of the registry and the relationship between WINDOWS the registry has six root keys, equivalent to a hard disk divided into six partitions. Enter RegEdit in the run dialog box, and then click OK to run Registry Editor. The data organization structure of the Chinese version of Windows 98 registry Registry (System.dat, User.dat, Config.pol). There are six root keys in the registry. These root keys are capitalized and prefixed with HKEY_; this command convention is based on the symbolic variables of the keyword of Win32 API's Registry function. Although in the registry, the six root keys seem to be in a juxtaposed position and have nothing to do with each other. But in fact, the information stored in HKEY_CLASSES_ROOT and HKEY_CURRENT_CONFIG is part of the information stored in HKEY_LOCAL_MACHINE, while the information stored in HKEY_CURRENT_USER is only part of the information stored in HKEY_USERS. HKEY_LOCAL_MACHINE includes all the information in HKEY_CLASSES_ROOT and HKEY_CURRENT_USER. After each system boot, the system maps the information in the HKEY_CURRENT_USER so that the user can view and edit the information in it. In fact, HKEY_LOCAL_MACHINE\ SOFTWARE\ Classes is HKEY_CLASSES_ROOT, which is specifically used as a root key for users to view and edit. Similarly, HKEY_CURRENT_CONFIG\ SY-STEM\ Current Control is HKEY_LOCAL_MACHINE\ SYSTEM\ Current Control. The user information for the default user and the currently logged-in user is saved in HKEY_USERS. The user information of the currently logged-in user is saved in HKEY_CURRENT_USER. HKEY_DYN_DATA keeps dynamic data when the system is running, which reflects the current state of the system, and is different each time it is run, even on the same machine. According to the above analysis, the information in the registry can be divided into two categories: HKEY_LOCAL_MACHINE and HKEY_USERS. For details of these two categories, please see the introduction below. The role of ★ two or six root keys in the registry, all the data is organized by keys and subkeys through a tree structure, which is very similar to the directory structure. Each key contains a specific set of information, and the key name of each key is related to the information it contains. If the key contains a subkey, there will be a "+" symbol on the left side of the folder that represents the key in the registry editor window to indicate that there is more content in the folder. If this folder is opened by the user, then the "+" will become "-". 1.HKEY_USERS this root key holds the list of user identities and passwords stored in the local computer password list. The preconfiguration information for each user is stored in the HKEY_USERS root key. HKEY_USERS is one of the root keys for access on a remote computer. 2.HKEY_CURRENT_USER this root key contains the currently logged-in user information stored on the local workstation, including the user login user name and the temporary password (note: this password is hidden when entered). When a user logs in to Windows 98, his or her information is copied from the corresponding entry in HKEY_USERS to HKEY_CURRENT_USER. 3.HKEY_CURRENT_CONFIG this root key stores data that defines the current user's desktop configuration (such as a monitor, etc.), the last used document list (MRU), and other information about the current user's installation of the Chinese version of Windows 98. Figure 5 shows the connection between the HKEY_CURRENT_ config subkeywords. 4.HKEY_CLASSES_ROOT according to the extension of the application installed in the Chinese version of Windows 98, the root key indicates the name of its file type. When you install the Chinese version of Windows 98 for the first time, the RTF (Rich Text format) file is associated with the WordPad (WordPad) & 127;, but after installing Chinese Word 6.0, double-clicking a RTF file will automatically activate Word. The HKEY_CLASSES_ROOT stored in SYSTEM.DAT replaces the setting item in the [Extensions] & 127; section of the WIN.INI file, which associates the application with the file extension, and replaces the similar setting entry in the Reg.dat file in Windows 3.x. 5.HKEY_LOCAL_MACHINE this root key stores local computer hardware data, and the subkeywords under this root key are included in SYSTEM.DAT to provide the information needed by HKEY_LOCAL_MACHINE, or in a set of keys accessible on a remote computer. Many of the subkeys in this root key are similar to the settings in the System.ini file. Figure 7 shows what happens between the subkeys under the HKEY_LOCAL_MACHINE root key. 6.HKEY_DYN_DATA this root key stores the dynamic data of the system at run time, which changes each time it is displayed, so the information under this root key is not placed in the registry. Figure 8 shows the subkeys under the HKEY_DYN_DATA root key. ★ III. Registry part important contents the registry is a large database Registry. It takes more than a page or two to analyze the database in detail. I have spent more than half a year analyzing this database structure. Only some of the important contents are introduced below. (1) HKEY_CLASS_ROOT 1.HKEY_CLASS_ROOT/Paint.Pricture/DefaultIcon double-click the default string on the right side of the window, delete the original "key value" in the open dialog box, and enter% 1. After reboot, open the Windows directory in "my computer", select "Big Icon", and the icon of the Bmp file you see is no longer the same MSPAINT icon, but a sketch of each Bmp file (provided that ACDSee and other image viewing software is not installed). (2) creating a new string name MenuShowDelay=0 in HKEY_CURRENT_USER 1.HKEY_CURRENT_USER\ Control Panel\ Desktop can improve the pop-up speed of the sub-menu of the start menu. two。 Create a new string name MinAnimate in HKEY_CURRENT_USER\ Control Panel\ Deskt-op\ WindowsMeterics, with a value of 1 to start the animation switch window, and a value of 0 to cancel the animation. (3) HKEY_LOCAL_MACHINE 1.HKEY_LOCAL_MACHINE\ software\ microsoft\ windows\ currentVersion\ explorer\ user shell folders saves the path of personal folders and favorites. 2.HKEY_LOCAL_MACHINE\ system\ currentControl-Set\ control\ keyboard Layouts saves the language used by the keyboard and various Chinese input methods. 3.HKEY_LOCAL_MACHINE\ software\ microsoft\ windows\ currentVersion\ uninstall saves the installed Windows application uninstall information

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report