copy hard drive in DOS - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 06-26-2005, 12:55 PM   #1 (permalink)
True Techie
 
Join Date: Sep 2004
Posts: 153
Send a message via AIM to OCC Fan
Default copy hard drive in DOS

can anyone tell me how to copy one hard drive to another hard drive in DOS? the HD that i want to copy does not have a OS.
__________________

OCC Fan is offline  
Old 06-26-2005, 01:51 PM   #2 (permalink)
Super Techie
 
Join Date: Feb 2003
Posts: 287
Send a message via AIM to neb1211 Send a message via Yahoo to neb1211
Default

I believe it is copy *source* *destination* (replacing *source* and *desination* with the drive letters)
__________________

__________________
~ Nick
Owner of Maximum CPU and MaxCPU Hosting
neb1211 is offline  
Old 06-26-2005, 02:15 PM   #3 (permalink)
True Techie
 
Join Date: Sep 2004
Posts: 153
Send a message via AIM to OCC Fan
Default

i found this really old dos operation book where it had all the stuff u needed to know about dos. i don't know if your method works, but what i used was "c:\xcopy 1: 2:".... where "1:" is the drive that you want to copy, and "2:" is where you want to copy the drive to.
OCC Fan is offline  
Old 06-26-2005, 03:01 PM   #4 (permalink)
Master Techie
 
Alvin.C's Avatar
 
Join Date: Jun 2004
Location: United Kingdom
Posts: 2,580
Default Re:

...isn't it just 'XCOPY source destination'...?
__________________
Alvin.C
linkedin.com/in/alvinwkchan

|Gaming PC| |Dell Latitude E7250| |Macbook Air 13" (Mid 2013)|
|Windows 10 Pro (x64)| |Intel Core i5-6600 @ 3.3 GHz| |MSI NVIDIA GeForce GTX 1080 Gaming X| |Noctua NH-D15S CPU Cooler| |Gigabyte GA-Z170MX-GAMING 5 mATX Motherboard| |Samsung 840 Pro 256GB SSD| |Corsair Vengeance LPX 16GB DDR4-SDRAM| |OCZ ModXStream Pro 700W Modular PSU| |NZXT Vulcan Micro ATX Case|
Alvin.C is offline  
Old 06-28-2005, 01:15 PM   #5 (permalink)
Newb Techie
 
Join Date: Jun 2005
Posts: 15
Default

WHAT EXACTLY DO YOU WANT TO COPY? IF YOU JUST WANT TO TRANSFER FILES FROM ONE DISK TO ANOTHER, JUST SLAVE THE HADDRIVE TO YOUR MASTER HARDDRIVE AND TRANSFER THE FILES DIRECTLY.

GOOD LUCK!
jorge0608 is offline  
Old 06-28-2005, 01:21 PM   #6 (permalink)
Junior Techie
 
Join Date: Jun 2005
Posts: 45
Send a message via AIM to Redcoat
Default

Use the: xcopy source destination /e /c
Example xcopy c: d: /e /c

This will copy all folders/subdirectories files including empty ones and continue to copy even if there is an error.
__________________
Jonathan C.
Redcoat is offline  
Old 06-28-2005, 03:36 PM   #7 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

Go to start>Run>CMD and press enter
Type xcopy /? And list the command switches to select your options

An example:

Echo off
Xcopy /y /e /I /d C:\<your source directory>\*.* D:\<Your destination directory>\

This example copies the contents of the source directory using the wildcard *.* which is all file names with all file extensions into a destination folder on the D drive. The /y suppresses any Are you sure , the /e switch says to copy empty directories as well, etc.. you will see what they mean if you print off the command switches.

After you are finished, go to file>save as and save the file as <your choice>.bat and change the file type to all files.

This will create a batch file which will perform an xcopy function.
__________________

__________________
Osiris is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 05:17 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.