Windows 10: Copy a list of subfolders with their contents using CMD

Discus and support Copy a list of subfolders with their contents using CMD in Windows 10 Ask Insider to solve the problem; [ATTACH] Hi all, I would like to copy a list of subfolders with their contents from one folder to another. I usually have the name list of the... Discussion in 'Windows 10 Ask Insider' started by /u/Available_Damage_812, Mar 21, 2025.

  1. Copy a list of subfolders with their contents using CMD


    Copy a list of subfolders with their contents using CMD yGwP6xTL62Cxrkh6s25Z3CCYj3_JSCJw7b39QqdtgPw.jpg

    Hi all, I would like to copy a list of subfolders with their contents from one folder to another. I usually have the name list of the subfolders from an excel file and I do it manually, which of course is not ideal.

    For example, I have attached an image. There you can see "FOLDER1" and "FOLDER2". I would like to copy "SUBFOLDER1", "SUBFOLDER2" and "SUBFOLDER3" via CMD.

    The excel file provides the names of "SUBFOLDER1", "SUBFOLDER2" and "SUBFOLDER3".

    Thank you

    https://preview.redd.it/vsw1tm5kp1q...bp&s=d61afee436f1dc239dec33b9a43be7f61b74d87c

    submitted by /u/Available_Damage_812
    [link] [comments]

    :)
     
    /u/Available_Damage_812, Mar 21, 2025
    #1

  2. For File Explorer, how to get UNC pathname of folder in mapped Drive ?

    Thanks, this is another workaround.

    If File Explorer can show the UNC Path, end-user only need to copy the address bar instead of

    1. requiring CMD skill and memory for the command
    2. additional four steps to get UNC pathname of a file.
      1. open CMD
      2. type in net use
      3. copy Remote text
      4. add subfolder to Remote Text
    Your suggestion is very useful in general but for my case need more labour than the one I posted with help from

    Find UNC path of a network drive?

    Is it possible to minimize steps with your CMD option?

    for example, open CMD in the subfolder instead and then type in some command to get UNC path of the subfolder?

    There is a paid solution but I need approval from IT; which is unlikely because this is not commonly required except for communicating to Tech Support

    Pay App
     
    Sunny PA Wong, Mar 21, 2025
    #2
  3. JohnCPR Win User
    How to copy a list of subfolders from a folder to a system folder

    I was able to copy the Documents regular folder saved on the separate drive and pasted it onto the Documents system folder in the C drive. I was advised by a Microsoft representative that the copy and paste should place the subfolders directly under the
    system folder. Unfortunately, the Documents regular folder is now a subfolder in the Documents system folder.

    I would need to drag and drop each of the 30 subfolders onto the Documents system folder since I have not found a method to simply highlight all the subfolders as I would do with a list of files to do this in one operation.

    Do I need to use a console command to do this or is there another way? If a console command please provide one since I have not used the console for years.
     
    JohnCPR, Mar 21, 2025
    #3
  4. JohnCPR Win User

    Copy a list of subfolders with their contents using CMD

    How to copy a list of subfolders from a folder to a system folder

    I needed to backup the list of subfolders in my system folders, e.g. Documents, Pictures etc., before Windows 10 was re-installed at a Microsoft store due to a problem that could not be repaired. I thought I was copying the system folders to a separate
    drive. Instead, the resulting system folders under Properties appeared as regular folders. I now need to restore the subfolders back to the system folders in one operation.



    Can I simply drag the regular folders on top of the system folders of the same name so that the system folders do not become regular folders or what is the correct procedure?
     
    JohnCPR, Mar 21, 2025
    #4
Thema:

Copy a list of subfolders with their contents using CMD

Loading...
  1. Copy a list of subfolders with their contents using CMD - Similar Threads - Copy list subfolders

  2. List subfolders containing documents

    in Windows 10 Gaming
    List subfolders containing documents: Hi,I have a large folder containing approximately 3000 subfolders, but in some of them I have document files like .pdf, .docx, etc.Is it possible to list subfolders containing documents, I don't need files from subfolders, I just want to transfer those subfolders containing...
  3. List subfolders containing documents

    in Windows 10 Software and Apps
    List subfolders containing documents: Hi,I have a large folder containing approximately 3000 subfolders, but in some of them I have document files like .pdf, .docx, etc.Is it possible to list subfolders containing documents, I don't need files from subfolders, I just want to transfer those subfolders containing...
  4. Automatically copy contents from a folder to every newly created subfolder

    in Windows 10 Network and Sharing
    Automatically copy contents from a folder to every newly created subfolder: I would like to create a trigger that automatically copies the files in Folder A into any newly created sub folder in Folder B. To rephrase, every time I create a subfolder in Folder B, I would like the files from Folder A to automatically be copied/added. Any suggestions are...
  5. Automatically copy contents from a folder to every newly created subfolder

    in Windows 10 Gaming
    Automatically copy contents from a folder to every newly created subfolder: I would like to create a trigger that automatically copies the files in Folder A into any newly created sub folder in Folder B. To rephrase, every time I create a subfolder in Folder B, I would like the files from Folder A to automatically be copied/added. Any suggestions are...
  6. Automatically copy contents from a folder to every newly created subfolder

    in Windows 10 Software and Apps
    Automatically copy contents from a folder to every newly created subfolder: I would like to create a trigger that automatically copies the files in Folder A into any newly created sub folder in Folder B. To rephrase, every time I create a subfolder in Folder B, I would like the files from Folder A to automatically be copied/added. Any suggestions are...
  7. Creating the same subfolder in multiple folders and moving the contents into that subfolder

    in Windows 10 Gaming
    Creating the same subfolder in multiple folders and moving the contents into that subfolder: HiI don't know how to explain this clearly but I have many project folders let's name them A, B, C, .....etc.Inside each of them are multiple files and subfolders.I want to make a subfolder named "Design" into each project file and move all the contents of the project folder...
  8. Creating the same subfolder in multiple folders and moving the contents into that subfolder

    in Windows 10 Software and Apps
    Creating the same subfolder in multiple folders and moving the contents into that subfolder: HiI don't know how to explain this clearly but I have many project folders let's name them A, B, C, .....etc.Inside each of them are multiple files and subfolders.I want to make a subfolder named "Design" into each project file and move all the contents of the project folder...
  9. XCOPY is not copying subfolders

    in Windows 10 Installation and Upgrade
    XCOPY is not copying subfolders: XCOPY is not copying subfolders even though I am using the parameters /S /E.I'm also using /D to just update the data. I've tried using /C to ignore errors. And I've tried using ROBOCOPY but I can not get the subfolders copied.I've tried to contact HP, but they said it was a...
  10. Copy to Specific Folders using CMD

    in Windows 10 Network and Sharing
    Copy to Specific Folders using CMD: I am trying to copy a file using robocopy and xcopy commands using a Batch script.bat. The script is run on CMD not in admin mode. I do not have admin mode privileges as the machine I am working on is organisation laptop. I am unable to copy files to the folders - Program...