你看下有什么区别就知道了作者: HAT 时间: 2008-11-27 17:22 建议到批处理室提问作者: DOSforever 时间: 2008-11-27 19:59 呵呵,这个我倒不认为只和批处理有关,重定向命令行也可以用。作者: alchemist 时间: 2008-11-28 21:39 <是输入重定向,提供软件内部的应答
dir.txt内容只有一个字节是 D
比如 xcopy adir bdir < dir.txt
在提示
Does 2 specify a file name
or directory name on the target
(F = File, D = directory)
的回答中,"D"便自动成为答案是复制继续作者: alchemist 时间: 2008-11-28 21:43
Quote:
Originally posted by wwmmc at 2008-11-27 16:15:
">" ">>"
都是输出重定向
不过">>"是把所要输出的内容接着 文档的尾部
如:
@echo off
dir > d:\1.txt
pause