bat

所属分类:Windows编程
开发工具:DOS
文件大小:9KB
下载次数:24
上传日期:2006-04-19 11:27:51
上 传 者grantsky2005
说明:  批处理文件有时很有用 扩展名是bat(在nt/2000/xp/2003下也可以是cmd)的文件就是批处理文件。 首先批处理文件是一个文本文件,这个文件的每一行都是一条DOS命令(大部分时候就好象我们在DOS提示符下执行的命令行一样),你可以使用DOS下的Edit或者Windows的记事本(notepad)等任何文本文件编辑工具创建和修改批处理文件。 其次,批处理文件是一种简单的程序,可以通过条件语句(if)和流程控制语句(goto)来控制命令运行的流程,在批处理中也可以使用循环语句(for)来循环执行一条命令。当然,批处理文件的编程能力与C语言等编程语句比起来是十分有限的,也是十分不规范的。批处理的程序语句就是一条条的DOS命令(包括内部命令和外部命令),而批处理的能力主要取决于你所使用的命令。
(batch file sometimes useful extension is bat (in the under NT/2000/XP/2003 it is cmd) of the document is batch file. First batch file is a text file, this document each trip are a DOS command (most of the time as if we re in the DOS prompt implementation of fate Like so OK), you can use the Edit DOS or Windows Notepad (notepad) any paper this document editing tools to create and modify batch file. Secondly, the batch file is a simple procedure, through a conditional statement (if), and flow control statements (goto) to control the operation of the order flow also in the batch cycle statements can be used (for) to the implementation of an order cycle. Of course, the batch file with the programming capabilities C programming language compared statement is very limited and also very irregul)

文件列表:
bat.doc (43520, 2006-04-15)

近期下载者

相关文件


收藏者