May 23, 2021 DOS Command learning manual
Net use s/ip/ipc$ ""/user:"" establishes an empty link to the IPC
net use sip/ipc$ "password" /user: "username" establishes an IPC non-empty link
net use h: s/ip\c$ "password" /user: "user" directly log in and map the other side C: to the local for H:
net use h: s/ip\c$ after landing map each other C: to the local for H:
Net use s/ip/ipc$ /del remove the IPC link
net use h: /del deletes the mapping to the local map for H:
Net user user user name password /add establishes the user
net user guest /active:yes activates the guest user
net user to see who is there
Net user account name View the properties of the account
Net localgroups usernams /adds "users" to the administrator so that they have administrator rights, note: the complex number is added after the istrator
net start to see which services are turned on
net start service name Open service; (e.g. net start telnet, net start schedule)
Net stop service name Stop a service
Net time s/target ip to see each other's time
The net time/target ip/set sets the local computer time to synchronize with the time of the "target IP" host, plus the parameter/yes to cancel the confirmation information
net view to see which shares are turned on on on the local LAN
net view s/ip to see which shares are turned on on in the other party's local area network
Net config displays system network settings
Net logoff disconnected share
Net pause service name Suspend a service
net send ip "text message" to send a message to the other person
Net ver LAN is using the type of network connection and information
net share to see locally-turned-on shares
Net share ipc$ turns on ipc$sharing
net share ipc$ /del remove ipc$sharing
net share c$ /del delete C: share
Net user guest 12345 changes the password to 12345 after signed in with the guest user
net password password Change the system login password
netstat -a See which ports are open and often use netstat -an
netstat -n View the network connection of the port, commonly used netstat -an
Netstat -v view the work in progress
Netstat -p Protocol Name Example: Netstat -p tcq/ip View a protocol usage (view tcp/ip protocol usage)
Netstat -s sees all protocol usage in use
nbtstat -A ip If one of the ports is open from 136 to 139, you can view the user name of the other party's most recent landing (the user name before 03) - Note: Parameter -A should be capital
Tracert - Parameter ip (or computer name) tracks routes (packets), and parameter: "-w number" is used to set timeout intervals.
Ping ip (or domain name) sends the default size of 32 bytes of data to the other host, parameter: "-l (space) packet size";
Ping -t -l 65550 ip death ping (send files greater than 64K and ping all the time becomes death ping)
ipconfig (winipcfg) is used for windows NT and XP (windows 95 98) to view the local ip address, and ipconfig displays all configuration information using the parameter "/all"
tlist -t displays the process in a list of tree rows (for additional tools for the system, the default is not installed, in the Superport/tools folder of the installation directory)
Kill-F process name plus-F parameter forced to end a process (for additional tools of the system, the default is not installed, in the Installation Directory's Super/tools folder)
Del-F file name plus-F parameters can delete read-only files, /AR, /AH, /AS, /AA for deletion of read-only, hidden, system, archive files, /A-R, /A-H, /A-S, /A-A for deletion of files other than read-only, hidden, system, archive. For example, "DEL/AR ."" means delete all read-only files in the current directory, and "DEL/A-S"" means delete all files in the current directory except system files