Errorlevel is not % errorlevel %
Http://blogs.msdn.com/oldnewthing/archive/2008/09/26/8965755.aspx
The Command Interpretercmd.exeHas a concept known asError level, Which is the exit code of the program most recently run. You can test the error level
Run the batch processing command ---- for, if, call, errorlevel, start
Sample: Move files in batches and display the files that have been moved. Different prompts are displayed for success and failure.
Emuleok. BAT:
Windows bat (batch processing) -- IF explanation Abstract: This article introduces the IF statement syntax in windows bat, including 3 Basic Situation and extended IF Statement 1. IF & IF notif and if not both have three situations: IF [NOT]
1. Introduction to simple batch processing internal commands1. Echo commandEnable or disable the request echo function or display messages. If no parameters exist, the echo command displays the current echo.SyntaxEcho [{on | off}] [Message]Sample: @
How to Write a BAT file?
Write the doscommand in a text file and save it as "all files". The file name is "Bat.However, the BAT file has many special commands...
Batch creation tutorial
A batch file is a non-formatted text file that contains one or
1. Introduction to simple batch processing internal commands
1. Echo commandEnable or disable the request echo function or display messages. If no parameters exist, the echo command displays the current echo settings.SyntaxEcho [{on | off}]
1. Introduction to simple batch processing internal commands
1. Echo command
Enable or disable the request echo function or display messages. If no parameters exist, the echo command displays the current echo settings.
Syntax
Echo [{on │ off}]
A batch file is a non-formatted text file that contains one or more commands. Its file extension is. bat or. cmd. In the command prompt, click the name of the batch file. When you double-click the batch file, the system will call cmd.exe to run them
Address: http://zhaohaolin.iteye.com/blog/1171031
PrefaceRecent discussions on batch processing technology are hot, and there are also a lot of good batch processing Program Publishing, but without some knowledge, I am afraid it is difficult to
1. Introduction to simple batch processing internal commands
1. Echo command Enable or disable the request echo function or display messages. If no parameters exist, the echo command displays the current echo settings.
Syntax: Echo [{ON │ off}] [
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.