Home  >  Article  >  Development Tools  >  Can notepad write bat?

Can notepad write bat?

(*-*)浩
(*-*)浩Original
2019-08-08 15:21:244708browse

bat (batch file), in DOS and Windows (any) systems, the .bat file is an executable file, consisting of a series of commands, which can include calls to other programs.

Can notepad write bat?

Each line of this file is a DOS command (most of the time it is like the command line we execute at the DOS prompt), You can use Create and modify batch files using any text file editing tool such as Edit under DOS or Notepad in Windows. (Recommended learning: notepad use)

Batch processing (Batch), also known as batch script. As the name suggests, batch processing is to process an object in batches. It is usually considered a simplified scripting language and is used in DOS and Windows systems.

The extension of the batch file is bat or cmd.

Currently there are two common types of batch processing:

DOS batch processing and PS batch processing. PS batch processing is based on the powerful image editing software Photoshop and is used to batch process image scripts;

and DOS batch processing is based on DOS commands and is used to automatically execute DOS commands in batches to achieve specific tasks. Operation script.

For more complex situations, you need to use if, for, goto and other commands to control the running process of the program, just like high-level languages ​​such as C and Basic.

If you need to implement more complex applications, it is necessary to use external programs, including external commands provided by the system itself and tools or software provided by third parties. Although batch programs run in a command line environment, not only command line software can be used, any program that can be run under the current system can be run in a batch file.

The above is the detailed content of Can notepad write bat?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn