• 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

    • >Interestingly, the rings came off without any physical damage to the device. With a HUGE amount of effort. The video OP makes it clear he doesn't think they'd ever come off in normal use.
    • Samsung Galaxy Z Fold7 may not come with Galaxy S25 Ultra's camera rings by Sagar Naresh Bhavsar When Samsung launched the Galaxy S25 Ultra earlier this year, it remained in the news for its top-of-the-line premium features, but also for a couple of drawbacks. Firstly, it made headlines because Samsung removed the Bluetooth functionality from the S-Pen on the Galaxy S25 Ultra, removing one of the key features: taking remote pictures and videos. But then a jarring issue came to light. The Galaxy S25 Ultra drew attention for its camera rings falling off. Yes, the $1,300 phone featured thick camera rings that were simply glued on top of the cameras. Interestingly, the rings came off without any physical damage to the device. Now, some interesting details about the camera rings on the upcoming Galaxy Z Fold7 have popped up. According to reliable leaker IceUniverse, Samsung was quite keen on keeping the Galaxy S25 Ultra-like camera rings on the upcoming premium Galaxy Z Fold7. However, after facing a strong backlash, the company has supposedly decided to scrap them. In fact, the leaker added that the cheap-looking Saturn rings design was urgently removed from the Galaxy Z Fold7, and instead, the company is bringing back the cleaner look of the Galaxy Z Fold5. Recently, multiple images of the Galaxy Z Fold7 were leaked, which seemingly suggest the same. The foldable is expected to come in three colors: blue, silver, and black. This year's Galaxy Z Fold7 is expected to be much thinner and lighter as compared to last year's foldable. We are just a few days away from the official unveiling. The pre-reserve window is already open, and if you are interested, you can get $50 credit and up to $1,150 additional savings.
    • Loved my LG G6, the build quality was up there with the most expensive flagships. The fingerprint reader on the back made it very comfortable to use.
    • games should be $250 each, they should only be for rich people....... keep stuff from the poor and middle class!!!!!!!!
    • Completely agree, I loved the placement of the power button on the back. I didn’t accidentally press it like I do with them on the side. Many years of enjoyment with that phone.
  • Recent Achievements

    • Reacting Well
      Gromvar earned a badge
      Reacting Well
    • Dedicated
      BreakingBenjamin earned a badge
      Dedicated
    • Week One Done
      Hartej earned a badge
      Week One Done
    • One Year In
      TsunadeMama earned a badge
      One Year In
    • Week One Done
      shaheen earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      544
    2. 2
      +FloatingFatMan
      181
    3. 3
      ATLien_0
      164
    4. 4
      Skyfrog
      108
    5. 5
      Som
      103
  • Tell a friend

    Love Neowin? Tell a friend!