How to suppress windows command output?

本小妞迷上赌 提交于 2019-12-22 10:09:58

问题


I'm moving thousands of files through the command line and it prints all the file names to the console. Is there a way to ignore the output so it can go faster? Something like piping to /dev/null in Linux.

Thanks


回答1:


bla-bla-bla-bla-bla-bla-bla-bla 2> nul



回答2:


Looks like this will do the trick:

MOVE oldfile.wp newfile.doc >nul

Source: http://ss64.com/nt/move.html




回答3:


I had the same problem, and I solved like this:

move aaa bbb >nul 2>nul


来源:https://stackoverflow.com/questions/11463544/how-to-suppress-windows-command-output

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!