bat: batch file. In MS-DOS, a .bat file is an executable file consisting of a series of commands, which can contain calls to other programs.
First, the batch file can be edited in text mode.
Each line of this file is a DOS command (most of the time it is like the command line we executed at the DOS prompt) You can create and modify batch files using any text file editing tool such as Edit under DOS or Notepad on Windows.
Secondly, the batch file is a simple program
The conditional statement (if) and the flow control statement (goto) can be used to control the flow of the command. It can also be used in batch processing. Use a loop statement (for) to loop through a command. Of course, the programming ability of batch files is very limited compared with programming statements such as C language, and it is also very irregular. A batch of program statements is a DOS command (including internal and external commands), and the ability to batch depends on the command you are using.
Third, each prepared batch file
is equivalent to a DOS external command
You can put the directory where it is located in your DOS search In the path so that it can run anywhere. A good habit is to create a bat or batch directory on the hard disk (for example, C:\\BATCH), and then put all the batch files you wrote into the directory, so just set c:\\batch in the path, you You can run all the batch programs you write in any place.
Fourth, under DOS and Win9x/Me system
C: The AUTOEXEC.BAT batch file in the root directory is automatically run batch file, which will be automatically generated every time the system starts. Run this file, you can put the system to run the command every time you start, such as setting the search path, dialing the mouse driver and disk cache, setting system environment variables.
system optimization has always been a common topic, and everyone is concerned about. Software for sy
Recently, some netizens asked the editor what img file, what can be used to open the img file? In fa
As long as you use a computer, you will definitely get in touch with compressed files! From a profes
Windows Optimizer is famous, and almost all of the personal computers are installed. It optimizes th
How to recover the memory card format? Data recovery method after the memory card is formatted
How to use the tray to mount quickly
Where is the driver downloaded by the 360 driver master
How to open the pdf file method
USBoot production U disk boot disk, USBoot user guide
How to use the dog input method to play traditional characters
Ghost can't be used? All due to the existence of BUG
How to connect to a wireless router through IGRS-free 3.5
How to drive life? Use driver life software update driver method diagram
How Win7/8 shares music photos and videos through media streaming
Win10 running the original sin of the gods 2 blue screen how to solve
Windows 7 system new library prompt 16389 error prompt
u disk parameter is not the correct solution
The win7 library helps you quickly find files
How does WinXP notebook enter safe mode?
Windows Server 2008 four optimization tips explain
Win7 is listening to music while surfing the Internet without being affected by other sounds.
How to set up Wifi wireless hotspots in Win8.1 Win8.1 notebook to do Wifi hotspot tutorial