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 ?
The move command allows users to transfer files or directories from one directory to another, or from one drive to another.
The mv command moves files and directories from one directory to another or renames a file or directory.
Move *.txt TextFiles >nul
>nul
sends the standard output to oblivion. 2>nul
sends error messages to the same place.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With