Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在通过命令行移动数千个文件,并将所有文件名打印到控制台。有没有办法忽略输出,让它更快?类似于 Linux 中的 /dev/null 管道。
谢谢
bla-bla-bla-bla-bla-bla-bla-bla 2> nul
看起来这样可以解决问题:
MOVE oldfile.wp newfile.doc >nul
来源:http ://ss64.com/nt/move.html
我有同样的问题,我是这样解决的:
move aaa bbb >nul 2>nul