?
Solved

copy entire cd to folder on harddrive using dos

Posted on 2010-01-12
7
Medium Priority
?
419 Views
Last Modified: 2012-05-08
hello expert,

copy entire cd to folder on harddrive using dos i would like to bypass any error checks using
a switch of something.

Regards
0
Comment
Question by:bobmaj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 16

Accepted Solution

by:
Raheem05 earned 100 total points
ID: 26292352
0
 
LVL 57

Assisted Solution

by:Bill Prew
Bill Prew earned 100 total points
ID: 26292407
Should be able to do something like this:

XCOPY /S /C /I /H D:\ C:\DestFolder

~bp
0
 

Author Comment

by:bobmaj
ID: 26292666
hello expert,

The source of file is on cd list as drive d and the destination c:
but the following error is return

>> C:\>xcopy D:\CBT Nuggets Archive Server\CBT Nuggets\files\videos\*.* c:\temp /c
Invalid number of parameters
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 57

Expert Comment

by:Bill Prew
ID: 26292689
If a filename contains spaces you will need to quote it as follows:

xcopy "D:\CBT Nuggets Archive Server\CBT Nuggets\files\videos\*.*" c:\temp /c

~bp
0
 

Author Comment

by:bobmaj
ID: 26292771
hello Expert,

This  a listing of the cd i am attempting to copy


02/15/2008  09:42 PM    <DIR>          n300_294
02/15/2008  09:41 PM    <DIR>          n300_296
02/15/2008  09:40 PM    <DIR>          n300_297
02/15/2008  09:39 PM    <DIR>          n300_298
02/15/2008  09:38 PM    <DIR>          n300_299
02/15/2008  09:37 PM    <DIR>          n300_350
02/15/2008  09:35 PM    <DIR>          n400_3
02/15/2008  09:32 PM    <DIR>          n400_h
02/15/2008  09:30 PM    <DIR>          n400_s
02/15/2008  09:29 PM    <DIR>          n401
02/15/2008  09:27 PM    <DIR>          n401_2
02/15/2008  09:25 PM    <DIR>          n403
02/15/2008  09:23 PM    <DIR>          n409
02/15/2008  09:21 PM    <DIR>          n410
02/15/2008  09:00 PM    <DIR>          n500
02/15/2008  09:18 PM    <DIR>          n501
02/15/2008  09:17 PM    <DIR>          n502
02/15/2008  09:16 PM    <DIR>          n504
02/15/2008  09:15 PM    <DIR>          n505
02/15/2008  09:14 PM    <DIR>          n506
02/15/2008  09:13 PM    <DIR>          n507
               0 File(s)              0 bytes
              21 Dir(s)               0 bytes free

D:\CBT Nuggets Archive Server\CBT Nuggets\files\videos>

This the error message i am getting


C:\>xcopy "D:\CBT Nuggets Archive Server\CBT Nuggets\files\videos\*.*" c:\temp /
C
0 File(s) copied
0
 
LVL 57

Expert Comment

by:Bill Prew
ID: 26292794
As I mentioned in an earlier post, you will need a few more switches to copy all subdirectories, etc.  This should work:

XCOPY /S /C /I /H "D:\CBT Nuggets Archive Server\CBT Nuggets\files\videos\*.*" c:\temp

~bp
0
 
LVL 16

Expert Comment

by:Raheem05
ID: 26292858
Billprew is correct bobmaj this was also listed in my first link shout if you need any more info :)
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question