How to Easily Move and Organize Files by Type In Windows

Title copy1

The command prompt is so useful that it’s hard not to want to use it all the time. There are lots of practical uses for it to speed up processes like cleaning up old Desktop items or ending running processes. Another useful solution is when moving files. simple move command can be set up in such a way to move all files under a certain file type.

Do you have multiple AVI video files mixed with PNG images listed in your Documents folder? This busy mess needs and should be organized immediately. How will you find your images if they are stored with a document or video? We have described an easy way to extract file types from a folder and place them in the appropriate location on the computer. After reading this article, you will be able to move all documents/videos/images/downloads/etc into their appropriate folders easily, organize your files as if they were located in the download manager.

Create batch files to move files in Windows

Following command will move all JPG images from current directory to directory Pictures folder. To get started, you can either type a command in the command prompt or create a batch file to run in any directory to perform the migration.

For example, copy the following command:

move *.jpg %userprofile%\Pictures\

Now open Notebook from the Start menu and enter the command in the new file. Save this as MovePictures.bat. Be sure to change Save styles, templates drop down All files.

Figure87

Now copy this file to your Desktop. Run the batch file to move any JPG images from the Desktop to Pictures folder. If you need to clean up another folder, such as a folder full of videos and images, place the file in that folder and open it.

See more:  30+ Free Shindo Life Accounts

Batch file customization

Figure88

Customizing the batch file is very easy. Change which image file should be moved by modifying *.jpg Ration. However, make sure that the * symbol still appears no matter what file type it is changed to. For example, here’s how to move PNG files:

move *.png %userprofile%\Pictures\

In addition to changing the file type, you can also change the destination directory. Make the change to the last position, like so:

move *.png C:\Images\

Note: There must be a directory for the batch file to work, otherwise a syntax error will show up in the command prompt. If you are moving the file to the C drive in a folder named image, make sure the directory is actually present, as the batch file won’t create it.

This is basically the structure the command has to follow:

Figure 89

move LOCATION *.FILETYPE

This will be easy to remember because the command will move One file type to one locationsame as the structure of the command has been written.

Now that you understand how to modify the command, you can combine several modifications to move multiple file types at once. This can be done for not only image files but also video files or executables. To move multiple file types at once, create a batch file like this:

move *.png %userprofile%\Pictures\move *.gif %userprofile%\Pictures\GIFs\move *.mp3 %userprofile%\Music\move *.mkv %userprofile%\Videos\move *.avi %userprofile%\Videos\

Picture90

Conclusion

Organizing files is made easy with the Command Prompt. Literally any file type can be used, so experiment with it and see how neat and tidy you can make your computer. You can even use these commands and these Command Prompt alternatives here.

See more:  What is NFC and How to Use it On NFC Enabled Android Device

Categories: How to
Source: thpttranhungdao.edu.vn/en/

Rate this post

Leave a Comment