7

Here is simple move command that moves all the text files to the folder TextFiles

Move *.txt TextFiles

I am getting outputs like the file was moved. I am going to use this command in a batch file. Any way to suppress showing the user that a file was moved ?

lostpacket
  • 1,383
  • 8
  • 26
  • 38

1 Answers1

18
Move *.txt TextFiles >nul

>nul sends the standard output to oblivion. 2>nul sends error messages to the same place.

Magoo
  • 77,302
  • 8
  • 62
  • 84