1. Basic command 1 DIR None parameters: View the files and folders of the current directory. / S: Check the file and folder of all the subdirectories therefore. / A: View all files that include hidden files. / ah: Only an implied file is displayed. / W: Display files and folders in a compact way (5 files). / P: Displayed in a paging mode (which will be automatically paused after a page). | more: The previous symbol is the one of the "/", called redirect symbol, which is the parameter of the result of a command to another command. More is also a command, the results obtained by DIR / W | More are the same as DIR / W / P. Other parameters can be used: DIR /? View.
2 CD CD Directory Name: Enter a specific directory. If you see a directory is displayed as: ABCDEF GHI, enter: cdabcdef.ghi enters the directory. CD / returned to the root directory. Cd .. Returned to the previous directory.
3 MD RD MD Directory Name: Establish a specific folder. (DOS is habits to the directory, Win habit will call the script. Oh!!) RD directory name: Delete a specific folder.
4 CLS Clear the screen.
5 Copy COPY Path / File Name Path / File Name: Copy a file to another place.
6 Move Move Path / File Name Path / File Name: Move a file (that is, cut replication) to another.
7 Del Del file name: Delete a file. Del *. *: Delete all the files under the current folder. DEL cannot delete a folder.
8 Deltree deletes folders and all subfolders below it also have files, powerful. . . Don't use it.
9 Format Format x:: x represents the drive letter, format a partition. Under DOS is formatted with the FAT file system, you will ask if you are installed in Windows2000. Do you want to convert to NTFS.
10 TYPE TYPE text file name: Show the content of the text file.
11 EDIT is actually a small program, editing text files.
12 Ren Ren Old File Name New File Name: Change the file name.
Second, about the common command of the network 1 Ping Ping host IP or name: Send 4 ICMP packets to the target host, test whether the opponent host is received and responding, is generally used to test whether the ordinary network is smooth. But Ping does not represent a network, it is possible that the target host is equipped with a firewall and blocks the ICMP response. Ping -t: The packet is not sent. Of course, it is very small and cannot be called an attack. Some people wrote some programs similar to the ping commands that they constantly send a large packet to block the network connection of the target host.
2 NET recommends uses NET /? To obtain specific help information. There are many parameters, and there are also parameters below the parameters. Commonly used: Net View // Host to see sharing, NET START / STOP service to start and stop service, let the letter make a service personal don't like it.
3 NetStat NetStat Host: View the current TCP / IP connection status of the host, such as the status of the port.
4 NBTSTAT NBTSTAT host: View the NetBIOS Name used by the host.
5 Tracert Tracert Host: View from yourself to the target, pass through those paths. Such as: tracert www.ncie.gov.cn is then waiting. . . Just see a route node, generally a big router, such as the main route of telecommunications, in addition to IP, there is an English. 6 PATHPING PATHPING Host: Similar to Tracert, but some Tracert cannot be displayed. I can try it yourself.
7 ftp character mode of FTP, I like it;) Don't use Cuteftp.
8 Telnet characters remote login programs are remote login programs that are extremely loving network people. I have recently used to debug mail servers.
9 IPConfig is very useful network configuration, tap. . . command. Unparalleled parameters Display the current network interface status of the current machine. / ALL is first detailed information. / Release releases the current IP. / renew reuse IP. / flushdns refreshes DNS cache. / registerdns Reproducing the DNS server to register ourselves. . . . . . .
10 ARP operation The current ARP cache. -a Displays the ARP cache. -d Delete a cache record. -S Tianshist a cache record.
11 NSLookup Excludes DNS error tools. Is an interactive tool. Before using it, please try to figure out the role of DNS and the working principle of DNS.
Xcopy is an external command, that is, a small program, sometimes it will find that there is no floppy disk, there is no hard disk. . . faint. . . Of course, the courage is easy to use than COPY, I like to add / e parameters. Smartdrv.exe loads disk cache, the parameter is the size of the cache, and the unit is KB. Such as: SmartDRV 32768 is a 32M cache. The role of the cache is very obvious when you install Win2K! Do not slowly deposit Win2K Pro for 3 hours, after loading 8M cache, as long as it is 30 minutes. The principle is to divide a zone in memory, and constantly read the data on the hard disk during the installation period to make full use of memory.
The AT and task plan are the same. The following is the method of use, you can get help by entering: at /? By the command prompt: AT /?
The AT command is scheduled to run commands and programs at a specific date and time. To use the AT command, the plan service must have been running. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ / Delete [/ yes]] AT [// computername] Time [/ intective] [/ every: Date [, ...] | / next: Date [, ...]] "Command"
// computername Specifies the remote computer. If this parameter is omitted, the command is run on the local computer. //127.0.0.1 represents this unit. Same as it doesn't add this parameters.
ID specifies the identification number to the planned command. Used to identify tasks, such as you have to add several tasks, ID = 1 represents the first 喽!