How do I loop through many files in one folder?

Is it possible to copy multiple files from one folder in one go and paste them in different folders individually?

  • I am on windows 7. Consider that I have 10 files. I want to know that is it possible for me to, using keyboard shortcuts like ctrl+c, copy these files in one go and then place each one of them in 10 different folders without having to go to the parent folder to copy any file again?

  • Answer:

    Option 1 Almost anything of this type is possible using a batch file Open notepad and type the following md folder1 copy file1 folder1 md folder2 copy file2 folder2 etc. then save it as 'something.bat' in the same folder and then double click it. md = make directory P.S. If you prefer not to type the file names then the following command in a separate .bat file run from the same folder or at commandline will create the list for you. dir /b  > filelist.txt Then edit and save it as .bat Option2 Use a compression software to add the files with option to add to separate archives. Then uncompress them with option to to uncompress in individual folders.

Dilip Damle at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.