问题
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