第二行run过了,只是你没有看见。 如果你加上一点东西(dir test*.txt > c:\testresult.txt),就可以看到结果了。 还有,batch file 如果run过了,是不会return to dos prompt,应该是关闭dos prompt的。