• 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

    • Vivaldi 7.4.3684.50 by Razvan Serea Vivaldi is a cross-platform web browser built for – and with – the web. A browser based on the Blink engine (same in Chrome and Chromium) that is fast, but also a browser that is rich in functionality, highly flexible and puts the user first. A browser that is made for you. Vivaldi is produced with love by a founding team of browser pioneers, including former CEO Jon Stephenson von Tetzchner, who co-founded and led Opera Software. Vivaldi’s interface is very customizable. Vivaldi combines simplicity and fashion to create a basic, highly customizable interface that provides everything a internet user could need. The browser allows users to customize the appearance of UI elements such as background color, overall theme, address bar and tab positioning, and start pages. Vivaldi features the ability to "stack" and "tile" tabs, annotate web pages, add notes to bookmarks and much more. Vivaldi 7.4.3684.50 changelog: [Chromium] Update to 136.0.7103.170 [Crash][Mail][JSError] RangeError: Maximum call stack size exceeded (VB-115288) Download: Vivaldi 64-bit | 125.0 MB (Freeware) Download: Vivaldi 32-bit | ARM64 View: Vivaldi Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I must be doing something right because I feel like I don’t really come across that many cheaters. I’m not saying you don’t, I just must be really lucky.
    • That’s a real shame, he’ll be greatly missed.
  • Recent Achievements

    • Apprentice
      Adrian Williams went up a rank
      Apprentice
    • Reacting Well
      BashOrgRu earned a badge
      Reacting Well
    • Collaborator
      CHUNWEI earned a badge
      Collaborator
    • Apprentice
      Cole Multipass went up a rank
      Apprentice
    • Posting Machine
      David Uzondu earned a badge
      Posting Machine
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      ATLien_0
      260
    3. 3
      +Edouard
      192
    4. 4
      +FloatingFatMan
      178
    5. 5
      snowy owl
      135
  • Tell a friend

    Love Neowin? Tell a friend!