copy command questions
Results 1 to 3 of 3

Thread: copy command questions

  1. #1
    Registered User
    Join Date
    Feb 2001
    Posts
    765

    Post copy command questions

    Greetings,
    Is there a command in DOS to copy a single directory and all directories and files contained in it?

    I am having to copy drivers off a CD in DOS because the system will only boot in safe mode, where I cannot access the CD.

    Thank you,

    Al

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    South Jersey
    Posts
    253

    Post

    Use XCOPY with /s switch.

    At prompt XCOPY /? will give you syntax/options. (You may be aware of that but figured it wouldn't hurt to include ).

  3. #3
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Post

    Though Wyckyd1 is right there is a slight error.
    Xcopy /s copies directories and subdirectories as well.
    -BUT-
    It does not copy EMPTY Directory which some appliation might require them.

    For this you should use the
    XCOPY /E
    Which does the same as /s but copies empty subdir as well.

    Good Luck
    Gabriel

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •