+5 votes
245 views
How to move files using Windows 10 CMD

in Help by (551k points)
reopened | 245 views

1 Answer

+3 votes
Best answer

How to move a file from one folder to another using Windows CMD.
How to move multiple files at once between folders using Windows CMD.

All Windows 10 users know how easy it is to move files between operating system folders. There are several ways to cut and drop files such as using the context menu as well as the keyboard shortcut Ctrl + X and Ctrl + V. However, there is also another method to carry out this operation, making use of the CMD.

image

Related:  How to run Command Prompts as Administrator in Windows 10, 8.1 or 7.

Most of the time, the most intuitive methods are the most convenient; however, the use of the CMD may be considered necessary on certain occasions. For example, if we create the hidden folder "with" which cannot be accessed in any other way than by using the CMD, we will have no other option but to use the command input to move files inside it..

Obviously this method can not only be used to move files to the protected folder, but can also be used to move files into fully visible and accessible folders.

If you are interested in moving files from one folder to another, whether protected or not, using the Windows tool:

How to move a file from one folder to another using Windows CMD.

- The first thing that we have to be clear about is the paths of the file that we want to copy and the path of the destination folder..

In our example:

  • Original file path: C: \ Users \ juanm \ Documents \ Folder 1 \ foto1.png
  • Destination folder: C: \ Users \ juanm \ Pictures \ Folder 2

- Continuous line, open the CMD which you can do using Windows search.

- When the interface of the tool is displayed, we must enter the following custom command with your data:

  MOVE “source path of the file to copy” “destination folder path”  

In our example it would be:

  MOVE “C: \ Users \ juanm \ Documents \ Folder 1 \ foto1.png” “C: \ Users \ juanm \ Pictures \ Folder 2”  

- After pressing Enter you will see how the file has been moved from the source folder to the destination folder..

image

How to move multiple files at once between folders using Windows CMD.

- In this case we must know the name of all the files to be moved as well as the source and destination routes.

In our example:

  • Source folder path: C: \ Users \ juanm \ Documents \ Folder 1
  • Destination folder path: C: \ Users \ juanm \ Pictures \ Folder 2
  • * with the extension of the files with their extension: foto1 .png and foto2 .png

The following will be to open the CMD (Command Prompts) and go to the source folder (where the files are) using the following command:

  cd source folder path  

In our case

  cd C: \ Users \ juanm \ Documents \ Folder 1  

After executing the MOVE command next to the * symbol followed by the extension of the files to be moved, separating them with a comma, followed by the destination path.

  MOVE * .png "destination folder path"  

In our case:

  MOVE * .png "C: \ Users \ juanm \ Pictures \ Folder 2"  

After pressing Enter to execute the command, all files will be moved simultaneously from the source folder to the destination folder.

image


by (3.5m points)
edited

Related questions

+5 votes
1 answer
+5 votes
1 answer
+3 votes
1 answer
+3 votes
1 answer
asked Apr 26, 2021 in Windows 10 by backtothefuture (551k points) | 121 views
+3 votes
1 answer
asked Oct 27, 2020 in Other Devices by backtothefuture (551k points) | 190 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users