• 0

How to copy a folder in MS-DOS?


Question

10 answers to this question

Recommended Posts

  • 0

Use Xcopy.

For example "xcopy C:\1234 D:\abcd /s" will copy all contents from C:\1234 to D:\abcd including subdirectories

Link with copy command help: http://www.computerhope.com/copyhlp.htm

Link with xcopy command help: http://www.computerhope.com/xcopyhlp.htm#01

Edit: aldago was fastest than me :laugh:

  • 0

it didn't work :(

this is what I tried:

xcopy d:\test\test1 d:\test\test2 /s

and the folders inside (d:\test\test1) were not copied to (d:\test\test2)..

both are existing folders with subfolders inside test1..

I have also tried

copy "test1" d:\test\test2

didn't work..

VidER

Edited by VidER
  • 0
  MPH said:
Use Xcopy.

For example "xcopy C:\1234 D:\abcd /s" will copy all contents from C:\1234 to D:\abcd including subdirectories

Link with copy command help: http://www.computerhope.com/copyhlp.htm

Link with xcopy command help: http://www.computerhope.com/xcopyhlp.htm#01

Edit: aldago was fastest than me :laugh:

take a look above his post :whistle:

  • 0
  VidER said:
it didn't work :(

this is what I tried:

xcopy d:\test\test1 d:\test\test2 /s

and the folders inside (d:\test\test1) were not copied to (d:\test\test2)..

both are existing folders with subfolders inside test1..

VidER

if the test1 folder is empty then leave the /s off the end

so try just

xcopy d:\test\test1 d:\test\test2

  • 0

I did.. and it worked :)

the command is:

xcopy d:\test\test1 d:\test\test2 /e

/e copies everything including empty subfolders

/s copies everything including subfolders.. but not the empty ones..

Thank you guys.

VidER

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • What I miss mostly is that I cannot resize the taskbar. I want a smaller taskbar.
    • BRING BACK the taskbar folder popup quick-launch feature. ...or whatever it was called. :-)
    • The sound never left. My Windows 10 installation still has it enabled, I found the checkbox in an earlier build and turned it on and my PC chimes every time it cold boots. That's how I know Windows Update didn't shut down after updating despite me telling it to. That being said... seeing Apple Liquid Glass has me thinking, if Windows 11 brought back the 7 Aero Glass running on top of the new kernel, minus the AI crap, I might actually be willing to move to it.
    • These days the differences are small, so if you're a petty nerd over dumb things, you'll be forever stuck behind and won't ever enjoy the latest and current niceties. Yup, it's a real life lesson too.
    • Microsoft 365 Roadmap Weekly: New features for the new Outlook, Copilot updates and more by David Uzondu This week, Microsoft added a slew of new entries to the public Microsoft 365 Roadmap, including plans for Teams, the new Outlook, and, of course, Copilot and Copilot Chat. Starting with Outlook, three practical updates are headed for the new Outlook for Windows client. First up, you'll finally be able to add attachments to emails while you are offline, a basic function that has been sorely missed. The remaining two features are slated for August. One will let you create a rule that specifically triggers a desktop alert. The other adds a folder deletion warning. If you try to delete a folder on which an email rule depends, Outlook will stop you and prompt you to fix the rule first. Like Google with Gemini, Microsoft continues to push Copilot deeper into its applications, with several updates planned for mid-2025. Later this month, Copilot will be able to give you a quick summary of recent changes and comments on a file right from the backstage view in Word, Excel, and PowerPoint, before you even open the document. Also, Copilot Chat will get the ability to limit its responses to selected content sources, like specific SharePoint sites or files, which should make its answers more focused. Next month, PowerPoint users will get two more Copilot tricks. You will be able to rewrite selected text using a custom natural language prompt and add entirely new topics to an existing presentation, with Copilot generating slides that match the existing look and feel. Edge is not left out, as its integrated Copilot Chat will soon be able to access content across multiple open tabs, not just the active one, with that update scheduled for August. Finally, for organizations that heavily use Teams Rooms Pro on Windows, an August update will allow for simultaneous town hall and webinar views. This will keep the presenter's backstage controls, like green room and backroom chat, hidden from the main audience display in the room.
  • Recent Achievements

    • Apprentice
      Wireless wookie went up a rank
      Apprentice
    • Week One Done
      bukro earned a badge
      Week One Done
    • One Year In
      Wulle earned a badge
      One Year In
    • One Month Later
      Wulle earned a badge
      One Month Later
    • One Month Later
      Simmo3D earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      610
    2. 2
      ATLien_0
      285
    3. 3
      +FloatingFatMan
      179
    4. 4
      Michael Scrip
      151
    5. 5
      Steven P.
      112
  • Tell a friend

    Love Neowin? Tell a friend!