随笔分类 -  Windows批处理

摘要:0、功能Performs conditional processing in batch programs.执行批处理程序中的条件处理。1、简介IF [NOT] ERRORLEVEL number commandIF [NOT] string1==string2 commandIF [NOT] EXIST filename command NOT # Specifies that Windows should carry out the command only if the condition is false. 指定只... 阅读全文
posted @ 2013-11-25 19:06 LubinLew 阅读(1033) 评论(0) 推荐(0)
摘要:0、功能Runs a specified command for each file in a set of files.对一组文件中的每一个文件执行某个特定命令。-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------1、FOR命令简介for命令的基本用法如下,主要是处理文件\文件夹\命令结果.FOR 阅读全文
posted @ 2013-11-24 17:55 LubinLew 阅读(736) 评论(0) 推荐(0)