name stops a serviceNET time \ Target IP View each otherNET time \ \ target Ip/set set the local computer time synchronization with the destination IP host, plus the parameter/yes to cancel the acknowledgment informationNET view to see which shares are open in the local LANNET view \\ip see which shares are open on each other's local area networkNET config display system network settingsNET logoff disconnected sharingNET Pause Service name pauses a s
In the code development process, we often need to use some network commands, as follows:(1) ipconfig command: Generally used to view our computer's IP address, gateway, subnet mask, DNS and other related information, such as:Ipconfig-all(2) Ping command: We are usually used to determine whether 2 or more than 2 machines between the network connectivity.For exampl
Create a VPN under CMD
1. PrerequisitesIn the service, the windows Firewall is stopped (or you can configure the router Protocol and port 1723)
The Remote Registry Service must be enabled.
Server service must be enabled
The router routing service must be enabled.
It is convenient to use win2000 of two or more NICs for vpn. After the nat protocol is added, the client can use a remote network to connect to t
Some important cmd commands (1) 10:15:09 www.hackbase.com Source: InternetNet use \ IP \ IPC $ ""/User: "" Create an empty IPC link. net use \ IP \ IPC $ "password"/User: "username" creates a non-empty IPC link. net use H: \ IP \ C $ "password"/User: "username" directly logs in and maps to the other Party C :...Net use \ IP \ IPC $ ""/User: "" Create an empty IPC LinkNet use \ IP \ IPC $ "password"/User: "U
--------Program ManagerRegedit.exe----Registration FormRsop.msc-------Group Policy result setRegedt32-------Registry EditorRononce-p----15-second shutdownregsvr32/u *.dll----Stop DLL file to runregsvr32/u zipfldr.dll------Cancel Zip supportCmd.exe--------cmd command promptChkdsk.exe-----CHKDSK disk CheckCertmgr.msc----Certificate Management UtilityCalc-----------Start CalculatorCharmap--------Start character mapping tableCLICONFG-------SQL SERVER Clie
PHP starts windows applications, executes bat batch processing, and executes cmd commands (exec and system functions). exec Functions
Exec or system can call the cmd command.
Directly run the Code:
Copy codeThe Code is as follows:/** Open the windows Calculator */Exec ('start C: WindowsSystem32calc.exe ');
/** Php generates a windows batch file and then executes
How PHP launches Windows applications, executes bat batches, executes CMD commands (Exec, system function details), EXEC functions
exec or system can invoke cmd command
Directly on the code:
Copy the Code code as follows:/** Open the Calculator for Windows */EXEC (' Start c:windowssystem32calc.exe ');
/** PHP generates a batch file for Windows, then execute this
When using a batch file, you can use the following method to hit multiple cmd windows, and execute multiple commands in each window.Start is used to start an applicationCmd/k indicates that the window is not closed after the command after the CMD has finished executing. If you want to close the window after execution is complete, use/C. For more information, plea
I. Relationship between the return value of OS. System (CMD) in Python and the return value of Linux commands (For details, refer to the additional content in this article)
Everyone is used to using the OS. systemv () function to execute Linux commands. the return value of this function is in decimal number (corresponding to a 16-bit binary number ). The Conversi
Syskey Setting the system startup passwordNslookup lntf43Hide your computer on a network neighborNET config Server/hidden:yesNET config Server/hidden:no is the openFor a network card with an assigned IP address of 10.0.0.99, to display its ARP cache table, you can type:ARP-A-N 10.0.0.99To add a static ARP cache entry that resolves IP address 10.0.0.80 to Physical address 00-aa-00-4f-2a-9c, you can type:Arp-
There are many FTP commands in cmd, which are commonly used:
FTP 192.168.1.3 login FTP;
Dir: displays the remote host directory;
CD remote-Dir: Enter the remote host directory;
Help [cmd]: displays the help information of the FTP Internal Command cmd, for example, help get.
Get remote-file [local-file]: transfers the r
This article mainly introduces how to use PHP to start windows applications, execute bat batch processing, and execute cmd commands (exec and system functions). For more information, see
Exec or system can call the cmd command.
Directly run the code:
The code is as follows:
/** Open the windows calculator */Exec ('Start C: WindowsSystem32calc.exe ');
/** Php g
compmgmt.msc Computer Managementdevmgmt.msc Device Managerdiskmgmt.msc Disk Management toolsdfrg.msc Disk DefragmentationEventvwr.msc Event ViewerFsmgmt.msc shared folder Managementgpedit.msc User, Group Policy Management toollusrmgr.msc Local user, group managementperfmon.msc Computer Performance Monitorrsop.msc Management Policy Viewsecpol.msc Local Security settingsservices.msc Service Managementwinver Checking the Windows versionDxDiag checking DirectX informationMsconfig.exe System Configur
Java cmd configuration (that is, Java JDK configuration and related common commands)-solution for failing to find or loading the main class, cmdjdk
Java cmd configuration (that is, Java JDK configuration and related common commands)
-- Solution that cannot be found or cannot load the main class
This period of time has
Java's cmd configuration (also known as Java's JDK configuration and related common commands)--The workaround for the main class could not be found or could not be loadedThis period of time has been entangled in the CMD under the Java cannot compile the problem of running. The main issues are described below:The Javac command runs normally, and Java
This article mainly introduces how to use PHP to start windows applications, execute bat batch processing, and execute cmd commands (exec and system functions). For more information, see
This article mainly introduces how to use PHP to start windows applications, execute bat batch processing, and execute cmd commands (
: tracert IP.
V. net
This command is the most important one in network commands. You must thoroughly understand the usage of each of its sub-commands, because it is too powerful, this is the best intrusion tool that Microsoft provides for us. First, let's take a look at all the sub-commands it has, and type net /? Pre
Copy and paste commands in CMD and PowerShellIn CMD command line and PowerShell, users who often use command line or PowerShell to copy and paste the text will certainly encounter this situation: it is very easy to paste the text, right-click and choose paste, however, if you want to copy command lines or PowerShell commands
--ipseccmd show filters
IPSecPol does not have the ability to query. You need to netdiag with a command-line tool. It is located in the Support\tools\support of the 2000 system installation disk. Cab. (three files have been uploaded, do not care more than one.) ^_^)
Netdiag requires support for remoteregistry services. So start the service first:
net start RemoteRegistry
If you do not start remoteregistry you will get an error:
[FATAL] Failed to get system information the This machine.
Netd
Windows 7 cmd common commands:1. Enter a disk, e.g. D:(with a colon) 2. Display the folder and file of D drive:dir3. Enter a folder on the D drive:CD filename4. Clear the screen:CLS5. View IP configuration: ipconfig [/all]6. ping-n Send request URL----> ping-n 3 www.rui.com7. Check Port condition: Netstat-an8. Exit: exitFor more CMD
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.