摘要:
##判断结构的三种形式 if (not) errorlevel number command if (not) string1=string2 command if (not) exist filename command 注意: ELSE 子句必须出现在同一行上的 IF 之后。例如: IF EXI 阅读全文
摘要:
##for循环遍历目录(/d选项只能遍历指定目录下的目录,并且不会遍历下一级目录) for /d %%i in (*) do command (遍历当前目录下的所有目录,不会搜索下一级目录) for /d %%i in (c:\users\adminliuhuaqing\desktop*) do c 阅读全文