command line move file code example

Example 1: cmd move file to folder

move filename directoryname

Example 2: how to move file in the command line

% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt

Example 3: move files command line windows

move "%USERPROFILE%\Downloads\Test.exe" "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"

Example 4: move files command line windows

move "full_path" "new_full_Path"

Example 5: command line move file

mv file.txt ~/Desktop/Folder