Windows basic Commands Daquan

Source: Internet
Author: User
Tags clear screen

1, DOS Common command detailed
dir         column file name deltree     Delete the directory tree CLS         clear Screen CD          changes the current directory. Copy copy        file diskcopy    copying disk del         delete file      format formatted disk. Edit        Text Editing mem         view memory status MD          Establish subdirectories move        files, change directory names. More        split screen display type        Displays the file contents rd          Delete directory sys         production DOS system disk. ren         changes file name xcopy       copy directory with file chkdsk      check disk attrib      set file properties. FDISK       hard disk partition date        display and date Modified label       set volume label defrag      disk defragmentation. MSD         System detects path        settings search directory share       file share memmaker    memory optimization management.        help helps restore     set          Setting the environment variable        time display and modification times. Tree-        Column debug       random debugger Doskey      re-call DOS command prempt      set prompt undelete    recover deleted file ScanDisk    detect, Repair the disk. 

2. Dos commands are not commonly used

  

Diskcomp    Disk Compare append      set non-executable file path expand      
Fasthelp Quick Display Help information FC file comparison
Interink starting the server setver setting version
Intersvr start client subst path substitution
QBasic Basic Integrated Environment Vsafe anti-virus
Unformat Restore formatted disk ver Displays the DOS version number
SMARTDRV Set Disk Accelerator Vol display disk volume label
LH Load the program into high-end memory Ctty change the control device
EMM386 Extended memory management

3, the General Command specific description:

  

dir displays a list of directory files and subdirectories you can use wildcard characters (? and *),? Table pass with one character, *table pass with any character*the. suffix specifies the file to view the suffix. The above can actually also be ". Suffix ", such as Dir*. exe equals dir. exe/p Displays a list screen at a time.  To view the next screen, press any key on the keyboard. /W Displays the list in a wide format, with a maximum display on each line5a file name or directory name. /s lists each specified file name that appears in the specified directory and all subdirectories. Faster than search in the win environment dir* *A.txt Write the current directory file list a.txt dir* */sA.txt writes the current directory file list to a.txt, including the files under subdirectories. Attrib display, set, or delete the read-only, archive, System, and hidden properties assigned to a file or directory.  If used without parameters, attrib displays the properties of all files in the current directory. +R Sets the read-only property. -R clears the read-only property. +A sets the archive file properties. -a clears the archive file properties. +s sets the system properties. -s clears the system properties. +h sets the hidden property. -h Clear hidden properties. Third, Cls clears all information displayed in the Command Prompt window and returns an empty window, that is, "clear screen", exit exits the current command interpreter and returns to the system. V. Format Formatting/q performs a quick format. Deletes the file table and root directory of the previously formatted volume, but does not scan the damaged area between sectors. Usethe Q command-line option should only format the intact volume that was previously formatted. Vi. Ipconfig display of all current TCP/IP Network configuration values, refresh Dynamic Host Configuration Protocol (DHCP), and Domain Name System (DNS) settings.  Use ipconfig without parameters to display the IP address, subnet mask, and default gateway for all adapters. /ALL Display full tcp/for all adaptersIP configuration information. Ipconfig is equivalent to Winipcfg, the latter in me,98And theavailable on the. Although Windows XP does not provide a graphical interface like the winipcfg command, you can use network connections to view and update IP addresses.  To do this, open your network connection, right-click a network connection, click Status, and then click the Support tab. This command is best used for computers that are configured to obtain an IP address automatically. It enables users to determine which TCP/The IP configuration values are configured by DHCP, Automatic private IP addresses (APIPA), and other configurations. Vii. MD Create a directory or subdirectory eight, move moves one or more files from one directory to the specified directory. Ix. Nbtstat Displays the local computer and the remote computer based on the TCP/NetBIOS Statistics, NetBIOS name tables, and NetBIOS name caches for the IP (NetBT) protocol. Nbtstat can refresh the NetBIOS name cache and the registered Windows Internet Name Service (WINS) name. Use nbtstat with no parameters to display Help.  Nbtstat command line arguments are case-sensitive. -a remotename displays the NetBIOS name table for the remote computer, where remotename is the NetBIOS computer name of the remote computer. -A IPAddress Displays the NetBIOS name table for the remote computer with the name specified by the remote computer's IP address (separated by a decimal point).  X. NETSTAT displays active TCP connections, computer-listening ports, Ethernet statistics, IP routing tables, IPV4 statistics (for IP, ICMP, TCP, and UDP protocols), and IPV6 statistics (for IPV6, ICMPV6, TCP by IPV6 and the UDP protocol via IPV6).  When used without parameters, Netstat displays the active TCP connection. -a displays all active TCP connections and the TCP and UDP ports that the computer listens on. Xi. Ping verifies with another TCP by sending an "Internet Message Control Protocol (ICMP)" Echo Request messageIP-level connection to the computer/IP machine. The reception of the Echo reply message is displayed along with the number of times the round-trip process occurs. Ping is the primary tcp/for detecting network connectivity, accessibility, and name resolution problemsIP command. If the parameter is not present, ping displays help.  Name and IP address resolution is the most simple application of its kind. -t specifies that the ping can continuously send Echo request information to the destination before the interrupt. To interrupt and display statistics, press Ctrl-break. To interrupt and exit the ping, press Ctrl-C. -lsize Specifies the length, in bytes, of the data field in the Echo request message sent. The default value is +。 The maximum value for size is $,527. 12, Rename (Ren) Change the name of the file. For example Ren*.ABC *. CBA 13, set display, set, or delete environment variables. If there are no parameters,SetThe command displays the current environment settings. 14. Shutdown allows you to shut down or restart the local or remote computer.  If no parameters are used, shutdown will log off the current user. -m ComputerName specifies the computer to shut down. -T XX sets the timer for system shutdown to xx seconds. The default value is -seconds. -L UNREGISTERS the current user, which is the default setting. -m ComputerName preferred. -s shuts down the local computer. -R restarts after shutting down. -A abort shutdown. In addition to-L and ComputerName, the system ignores other parameters. During the timeout period, you can only use-A.  Under System file Checker (SFC) win, scan and verify all protected system files after restarting the computer. /Scannow immediately scans all protected system files. /scanonce scans all protected system files at once. /Purgecache immediately clears the Windows File Protection file cache and scans for all protected system files. /cachesize=x Set the size of the "Windows File Protection" file cache, in megabytes. 16. Type Displays the contents of the text file. Use the type command to view a text file or a bat file without modifying the directory structure of the file 17, tree image display path, or disk in the drive.  18, Xcopy Copy files and directories, including subdirectories. /s copies non-empty directories and subdirectories. If omitted/S,xcopy will work in a directory. /e copy all subdirectories, including empty directories. 19. Copy copies one or more files from one location to another location 20, Del deletes the specified file. 

Windows basic Commands Daquan

Related Article

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.