Recommended Posts

hey I dont know if this is the right forum, but I couldnt find a DOS forum.

In any event, due to very frustrating circumstances. I need to copy an entire folder from one HDD to another, and I have to do it in DOS mode.

But all I can remember from DOS is COPY [Folder] E: etc

but all it does is copy the files in the folder, not the subfolders etc

so I just want to copy the whole folder and its entire contents

What would be the DOS command, for that??

Thankyou.

Link to comment
https://www.neowin.net/forum/topic/127946-dos-copy-commands/
Share on other sites

  Osiris said:
I fear the problem is the bootdisk I am using does not have xcopy.exe on it.

I suspect thatis why the command is not working.

exactly.

the xcopy i attached came from a DOS bootdisk on www.bootdisk.com

it should run in DOS

XCOPY.EXEFetching info...

  memodude said:
Why don't you save the time?

C:\original\> D:

D:\> md new

D:\> C:

C:\original\> copy *.* D:\new

C:\original\> D:

D:\> cd new

D:\new\> dir

Because he has folders under C:\original that he needs to be moved over and what you suggested won't move them. For example, your way won't move C:\original\folder\file.txt over.

Use:

XCOPY c:\source c:\target /e

/e copies all the subdirs, including the empty ones

use "xcopy /?" to see all your options... ;)

Edit: I case you have hidden or system files, you must add "/h" to the command, i.e.:

XCOPY c:\source c:\target /e /h

Edited by JHAres

Osiris, in the future when you need to work with files from dos, the only soft you ever need is Volkov Commander

http://www.egner-online.de/vc/en/vc4.shtml

or newer version 5 at

http://www.egner-online.de/vc/en/vc5.shtml

it's small enough to fit on any boot disk and can do anything you want with files: copy/move/delete/edit/view/pack/unpack/etc

no bootdisk/resuedisk should be w/o it

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

    • No registered users viewing this page.
  • Posts

    • No. 1/10th the cost of a Mac? The Mini starts at 599. What mini-pc costs 1/10th of that? The OS is nothing like macOS. Sure you can make it look like it, but it won’t work anything like it. Applications won’t install, or remove the same. Application compatibility will be different. Managing the OS is completely dissimilar, the biggest common ground will be a few CLI utilities. You can definitely get yourself an inexpensive little setup that has a good Linux distro and be happy. It won’t be 1/10th the cost or essentially a Mac though.
    • 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!