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

    • Going to quote myself from a comment I made to a related article: It's not about the OS, it's about the workflow. OS fans consistently miss this. People have work to do and they've invested a lot of time, effort and even money building their workflows. It's expensive to change, so that change has to offer real benefits that compensate for the cost of updating workflow and sorry, Win 11 just doesn't. Win 11 breaks workflow in weird and pointless ways seemingly either to dumb down the OS (with the same results as we saw when MSFT tried to dumb down Office's menuing system with "SmartMenus") or make it look more like macOS. MSFT seems to have completely lost the basics of UI/UX like FITS and muscle memory in Win 11. If they had made these optional - then sure, but they aren't. That's the same reason most users won't just jump to an entirely new OS - which has an even bigger workflow cost - until there's just no other option. Not only is there the core workflow cost, but the cost of finding new parallel software for the new OS, transferring and possible converting files and dealing with incompatibilities and then redeveloping workflows. It's just not as simple as "switch". And now there IS another option, stay on Win 10 for another year and pray for Win 12 (much as Win 7 users did with Win 8 - which happened when Win 10 came out).
    • At least that album was really good. I don't know if F1 was $200 million well spent yet...
    • PC manufacturers used to trick BIOS copyright strings to get full editions of trial software by Usama Jawad You may have noticed that when you purchase a new PC, it comes with certain software pre-installed. Sometimes, when you open this software, it activates, and you receive the full version of it without paying any additional cost. This is because that PC's manufacturer is a licensee of that software and the fact that a customer gets the full version of a trial software for free serves as a perk for potential buyers. However, many PC manufacturers tried to trick this process in its infancy. During the days of Windows 95, when the Plug and Play specification was still in development, the OS' engineering team was trying to figure out ways through which it could identify PCs that existed prior to the inception of this specification. To that end, one of the methods they tried was searching for copyright strings and firmware dates in the BIOS. Through the course of this investigation, they discovered a rather oddly named copyright string "Not Copyright Fabrikam Computer" in a PC that was actually manufactured by Contoso. In this case, both Fabrikam and Contoso are fictional names that are used to describe this scenario without revealing the actual identity of the OEMs involved. Microsoft engineer Raymond Chen explains in a blog post that these odd copyright strings were actually appearing because Contoso PCs contained a trial version of a software and the company wanted the full version to be activated for customers even though it was not an official licensee. In order to bypass the costly licensing process, what the firm did was that it added the following text to its copyright string: "Copyright Contoso Not Copyright Fabrikam Computer". The trial version of said software would search for the string "Copyright Fabrikam Computer" and end up finding it within the substring of the convoluted copyright string mentioned above, accidentally activating the software's full version. While more robust ways were adopted later to avoid this problem, it's certainly interesting to see that OEMs would go to this length in order to distribute software that they are not officially allowed to. Well, as they say, the past stays in the past.
  • Recent Achievements

    • First Post
      Myriachan earned a badge
      First Post
    • Week One Done
      DrRonSr earned a badge
      Week One Done
    • Week One Done
      Sharon dixon earned a badge
      Week One Done
    • Dedicated
      Parallax Abstraction earned a badge
      Dedicated
    • First Post
      956400 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      615
    2. 2
      ATLien_0
      227
    3. 3
      +FloatingFatMan
      170
    4. 4
      Michael Scrip
      166
    5. 5
      Som
      148
  • Tell a friend

    Love Neowin? Tell a friend!