Using the move command, you can move files:
@echo off
cd C:\Foo\Bat\Baz
move /Y Meow.bat "Meow Folder" >nul
Meow.bat
stands for which file to move. The "Meow Folder" moves Meow.bat
to the Meow Folder
. /Y
says to not prompt for confirmation. Replacing that with /-Y
makes the batch file prompt for confirmation. The >nul
hides the command output. If it didn't have >nul
, it would output:
1 File Moved