Reprinted from: "Fun It" public numberObjectiveBatch file contains a series of DOS commands that are typically used to automate repetitive tasks. Users simply double-click a batch file to perform tasks without having to enter the same instruction
CMD command: Start-to-run, type cmd or command (you can see the system version, the file system version on the command line)CHCP modifying the default character setCHCP 936 Default ChineseChcp 650011. Appwiz.cpl: Programs and functions2. Calc: Start
Frequently-used commands echo, @, call, pause, and REM (TIPS: Use: instead of REM) are the most frequently-used commands for batch file processing. We started from them.
First, @ is not a command, but a special identifier for DOS batch processing.
The future Forum's XI-write cmd script has been proven to be able to download Vista SP1 RC1 (V668) through WindowsUpdate, run the script as an administrator, and then run Windows Update Check for updates. This script is not the same as the one in 658
Common DOS Command folder management
The CD displays the current directory name or changes the current directory.
MD to create a directory.
RD Deletes a directory.
DIR displays a list of files and subdirectories in the directory.
Windows environment variables:The name is very big, is actually the Java static constant role, namely stores the thing the variable. Case insensitiveWindows environment variables are divided into two types:System environment variables: Any user can
gpedit.msc-– Group Policy2. Sndrec32 ——-Recorder3. Nslookup ——-IP Address Detector is a command-line tool that monitors whether DNS servers in a network can correctly implement domain name resolution. It can be used in Windows NT/2000/XP, but it is
is powershell an enhanced version of the command line? PowerShell can execute all commands on the command line? PowerShell want to override the command line? The answers to these three questions are sufficient to let us understand the relationship
Windows cmd batch processing changes the file name to lowercase and cmd to lowercase
Directly run the Code:
@ Echo off setlocalsetlocal ENABLEDELAYEDEXPANSIONset path = "C: \ Users \ llq \ Desktop \ test" set suf = "*. doc "rem % path % # use
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
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.