Copying a cd directory to a hd
Page 1 of 2 12 LastLast
Results 1 to 15 of 23

Thread: Copying a cd directory to a hd

  1. #1
    Join Date
    Feb 2000
    Location
    Big Bear Lake, Calif.
    Posts
    4,158

    Copying a cd directory to a hd

    In dos, what would be the path for making a directory and copying a directory or folder from a cd?

    Do you mkdir and then name it? Do you mkdir c: ???

    For copying, do you change directory(cd) to that directory? and then copy from the cd drive D like this:
    D: copy 1386 c:\windows2000
    That's if I made that particular directory.

    I want to do an install of 2000 or XP thru dos or at least start with dos to copy the files to the hd first.
    Anyone know how to do that?
    I also want this to be a dual boot with 98.
    I am only doing this as a learning project.
    Note: My questions may be to help others
    Thanks, JB

  2. #2
    Join Date
    Feb 2000
    Location
    Idaho Falls, Idaho, USA
    Posts
    18,423
    To dual boot Win98 and 2000/XP, unless you are using a third party boot manager like System Commander, you will need to install Win98 first.

    To create a directory, change to the drive where you want to create the directory (not a CD drive of course), then use the following:

    mkdir newdir

    Where newdir is the name of the directory you want to create.


    To copy files, you do not need to change to either the source or destination directory, as long as you specify both in the copy command. To copy subdirectories and their files, I generally use xcopy, but to just copy setup files copy should work.

    copy e:\I386\*.* c:\I386

  3. #3
    Join Date
    Feb 2000
    Location
    Big Bear Lake, Calif.
    Posts
    4,158
    So ok I have 98 on and now I am guessing that I want to restart into dos.
    So I guess that I want to make a directory in C: so in dos it would look like this c:\windows
    so do I need to type cd..
    to get back to c: and then
    mkdir Windows2000 so that is where the files will go?
    Then I guess that I should of already had made a partition for the new OS. That is already a guess.
    So you say to type: copy e:\I386\*.* c:\I386
    So now you list E: now that must be the cdrom being E. Now you are copying it to C: Now that confuses me because 2000 would go to the D partition.
    I guess that I am lost at this point because you are listing C:
    I don't know if there is a partition in you description.
    So where did I go wrong?
    Note: My questions may be to help others
    Thanks, JB

  4. #4
    Join Date
    Apr 2002
    Posts
    1,840
    First, dos would have a problem creating a directory named Windows2000, it has 11 charactors in the name. Dos can only handle an 8 charactor name, perhaps Win2000 or Win2K would be better. You might have noticed some folders like C:\My Documents being listed as C:\Mydocu~1.
    Jdc2000 only put down the C: as an example, you can edit his command by putting the D: in the proper place.

  5. #5
    Join Date
    Feb 2000
    Location
    Big Bear Lake, Calif.
    Posts
    4,158
    Put the D: in the proper place if there is a partition that was made previously, is that right? So should I put it in D if I have 98 on C and an empty partition created?
    Note: My questions may be to help others
    Thanks, JB

  6. #6
    Join Date
    Apr 2002
    Posts
    1,840
    Change to D:. make the directory then copy the files. Assuming the E: is the CD, it could be F:.
    d:
    mkdir i386
    copy e:\i386\*.* d:\i386

  7. #7
    Join Date
    Feb 2000
    Location
    Big Bear Lake, Calif.
    Posts
    4,158
    Would I make an extra partition with Partition Magic or can I use something else?
    What other files would I need to copy into the new partition for a dual boot? Winnt?
    They say that this is a faster installation instead of making a partition and then doing a regular install with the cd. So how much faster could all this be?
    Is there a link somewhere that I can read and print to follow to do this dos installation?
    Note: My questions may be to help others
    Thanks, JB

  8. #8
    Join Date
    Oct 1999
    Location
    Huntington Beach, CA, USA
    Posts
    3,137
    I'm trying to comprehend what your objective is. Are you trying to put the install files on the hard drive so you won't have to use the CDROM too install Windows 2000? I'm not sure of the boot files needed to install Windows 2000. If your hard drive is currently booting to Windows 98, you might have to change the boot files over to that of the CD Disk which would mess up your WIndows 98, which I don't know how you would do that. Win 2K may install booted to DOS by running the Setup in the CD's directory copied to the hard drive.

    If you can install from that, the easiest way would be to copy that CD folder to the hard drive using Windows Explorer. Then you would boot to DOS mode and do the installation.

    ------------------
    My
    Two Cents
    Dennis
    Visit Politalk

  9. #9
    Join Date
    Apr 2002
    Posts
    1,840
    I think you are trying to do a standard dual boot of 98 and W2k. You need to have two partitions already on the drive, Partition Magic can create the Extended/Logical Partition if you do not already have it.
    98 is already installed on the Primary Partition, this partition will be made smaller. Leave the 98 installation alone. During W2k installation, you will be given the option of creating a dual boot as the 98 will be detected.

  10. #10
    Join Date
    Feb 2000
    Location
    Big Bear Lake, Calif.
    Posts
    4,158
    Markp62,
    Yes I have done that before. I used PMagic to make partitions and just did a regular install and it asked me where I wanted it and I said D because C was 98. That worked great. Also did a triple with XP.
    I am just reading about how to install with copying part of the cd to a directory and the install will go faster. I am not sure the exact way to do this.
    I have read websites that tell how to do it but they leave out the exact steps so one could screw up easily.
    I like to see actual steps. Like, restart into Dos from 98 and at the A: type this and they type this and this.
    I can't use vague summary of the steps.
    You know how people write. They think that you are completely knowleable and can read between the lines.
    This I repeat is an experiment and I don't have to do it. I just want to see it done.
    Note: My questions may be to help others
    Thanks, JB

  11. #11
    Join Date
    Jul 2000
    Location
    BoB-free zone
    Posts
    1,652
    I've never bothered to do this pre-copying thing, but then again the vast majority of my installs are imaged, so it wouldn't apply in that case.

    That said, how much time can it really save? You still have to copy all the files from the CD, whether you do it in advance or during Setup. Sure, you get the advantage of busmastering drivers to do the copying if you do it in Windows, but I doubt that's much, and you don't get that in DOS.

    Unless the machine doesn't have an accessible CDROM, like some laptops, I don't think I'd bother.

  12. #12
    Join Date
    Apr 2002
    Posts
    1,840
    If you Restart in Dos Mode in 98, you will not have a functioning CD drive, no dos drivers loaded for it by default.
    The commands posted by jdc2000 and I are all you need to do to create a folder and copy the files. I left out the parts about inserting the CD and pressing Enter, and then left out the command to start setup, forgive me.
    But there is a slightly different way to do it, Mkdir can be abbreviated to Md, or;
    d:
    md i386
    copy e:\i386\*.* d:\i386

  13. #13
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    Or you could abbreviate it even further, down to just these two commands:
    • md d:\i386
      copy e:\i386 d:\i386
    There are three DOS directory commands:
    • md
      cd
      rd
    or, the alternatives:
    • mkdir
      chdir
      rmdir
    (Which do exactly the same thing).

    md is an abbreviation for Make Directory
    cd is an abbreviation for Change Directory
    rd is an abbreviation for Remove Directory

    md creates a directory
    cd displays the name of or changes your current directory
    rd removes (deletes) a directory

    You can get some brief help for each of these commands by typing:
    • md/?
      cd/?
      rd/?
    at any DOS prompt.

    More information can be found on the following pages:

    http://www.vfrazee.com/ms-dos/6.22/help/md.htm
    http://www.vfrazee.com/ms-dos/6.22/help/cd.htm
    http://www.vfrazee.com/ms-dos/6.22/help/rd.htm
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  14. #14
    Join Date
    Feb 2000
    Location
    Big Bear Lake, Calif.
    Posts
    4,158
    To install 2000 what particular folder would I have to copy from the cd? Winnt, I386? Or what?
    Note: My questions may be to help others
    Thanks, JB

  15. #15
    Join Date
    Feb 2000
    Location
    Idaho Falls, Idaho, USA
    Posts
    18,423
    The I386 folder and contents are needed.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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