Windows 10: Copy folder from CMD

Discus and support Copy folder from CMD in Windows 10 Software and Apps to solve the problem; Cannot log to Windows 10 anymore, however I can access CMD and I want to copy my folders/files, I managed to copy some of them by XCOPY but I couldn’t... Discussion in 'Windows 10 Software and Apps' started by E W T, Mar 17, 2024.

  1. E W T Win User

    Copy folder from CMD


    Cannot log to Windows 10 anymore, however I can access CMD and I want to copy my folders/files, I managed to copy some of them by XCOPY but I couldn’t copy these 2 folders in the photo, So how can I copy them?

    :)
     
    E W T, Mar 17, 2024
    #1
  2. temp02 Win User

    Java.nio.file - Copying files

    You can't copy a folder, thats why it generates an exception (you are trying to copy a folder using a copy file function).
    You probably need to list all the files inside that folder and copy one by one
     
    temp02, Mar 17, 2024
    #2
  3. Wozzer Win User
    Java.nio.file - Copying files

    Issue was the above, so thanks temp02.
     
    Wozzer, Mar 17, 2024
    #3
  4. Junaid_A Win User

    Copy folder from CMD

    Copying down file folders with names and growing dates

    Hi Ryan,



    Thank you for writing to Microsoft Community Forums.



    To create multiple folders of same name with progressive dates, I suggest you to try the steps listed below and check if it works for you.



    • Open File Explorer and navigate to the location where you want the folders to be created.
    • On the address bar, where the folder path is displayed, erase the folder path and type
      CMD to open a Command Prompt window.
    • Once the Command Prompt window opens, copy paste the following command and hit Enter:



      for %d in (2019.6.17 Job Progress Pics, 2019.6.18 Job Progress Pics, 2019.6.19 Job Progress Pics, 2019.6.20 Job Progress Pics, etc) do mkdir %d




      Note:

      Replace ‘etc’ with rest of the dates for the month. (Eg: ‘2019.6.X Job Progress Pics’ where X is the date)


    • Exit Command Prompt and see if multiple folders are created with the progressive dates on the preferred location.


    Let us know how it goes.

    Regards,
     
    Junaid_A, Mar 17, 2024
    #4
Thema:

Copy folder from CMD

Loading...
  1. Copy folder from CMD - Similar Threads - Copy folder CMD

  2. Copy folder from CMD

    in Windows 10 Gaming
    Copy folder from CMD: Cannot log to Windows 10 anymore, however I can access CMD and I want to copy my folders/files, I managed to copy some of them by XCOPY but I couldn’t copy these 2 folders in the photo, So how can I copy them?...
  3. Copy folder from CMD

    in Windows 10 Network and Sharing
    Copy folder from CMD: Cannot log to Windows 10 anymore, however I can access CMD and I want to copy my folders/files, I managed to copy some of them by XCOPY but I couldn’t copy these 2 folders in the photo, So how can I copy them?...
  4. Cannot copy documents folder in cmd

    in Windows 10 Gaming
    Cannot copy documents folder in cmd: My wife's computer died and won't boot. We plan on doing a fresh reinstall but want to save a few files first. Some of these files are in the documents folder. I have cmd running from a boot drive and when I try to xcopy to the folder it says "file creation error - the file...
  5. Cannot copy documents folder in cmd

    in Windows 10 Software and Apps
    Cannot copy documents folder in cmd: My wife's computer died and won't boot. We plan on doing a fresh reinstall but want to save a few files first. Some of these files are in the documents folder. I have cmd running from a boot drive and when I try to xcopy to the folder it says "file creation error - the file...
  6. Cannot copy documents folder in cmd

    in Windows 10 Network and Sharing
    Cannot copy documents folder in cmd: My wife's computer died and won't boot. We plan on doing a fresh reinstall but want to save a few files first. Some of these files are in the documents folder. I have cmd running from a boot drive and when I try to xcopy to the folder it says "file creation error - the file...
  7. How to move a file from a folder to it's parent folder in cmd?

    in Windows 10 Gaming
    How to move a file from a folder to it's parent folder in cmd?: I make a file test.exe in the test2 folder. This is my location in cmd: "C:\Users\Mark\Desktop\test3\test2>" And I tried using the following command: "move test.exe C:\Users\Mark\Desktop\test3" but it's not working....
  8. How to move a file from a folder to it's parent folder in cmd?

    in Windows 10 Software and Apps
    How to move a file from a folder to it's parent folder in cmd?: I make a file test.exe in the test2 folder. This is my location in cmd: "C:\Users\Mark\Desktop\test3\test2>" And I tried using the following command: "move test.exe C:\Users\Mark\Desktop\test3" but it's not working....
  9. 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...
  10. Copy files and *replace* them in another folder using CMD?

    in Windows 10 Support
    Copy files and *replace* them in another folder using CMD?: Hello, I know there a multiple tutorials online about copying files from one place to another using command line. My question is, I want to copy one folder to another folder, only thing is I want the files inside it to be replaced directly, without any prompts asking for...