for /l %i in (1,1,5) do calc五次启动计算器程序for /l %i in (start ,step,end) do commandfor /l 表示从数字start开始,以step为步长相加,赋值给%i,,执行命令command,直到数字大于等于end结束 转载于:https://www.cnblogs.com/sjxbg/p/5539327.html