我用的是for %%x in(c:\) do echo %%x >>sortfile.bat
这样()里面的c:\代表什么文件,为什么会输出c:\ 1
不太明白,请教高手!
[ Last edited by georgevcool on 2007-8-14 at 04:17 PM ]作者: Michael 时间: 2007-8-14 18:58 c:\不代表文件,代表C盘的根目录。作者: jing1345061 时间: 2008-10-30 02:16 for %%x in(c:\) do echo %%x >>sortfile.bat
好像和 echo c:\ >>sortfile.bat 是一样的吧!
[ Last edited by jing1345061 on 2008-10-30 at 02:18 ]