|
| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Copy command
|
Original Message
|
Name: darren
Date: November 7, 2002 at 18:29:02 Pacific
Subject: Copy commandOS: win98CPU/Ram: P4 |
Comment: Hi, how do i actually use the COPY command to copy all the contents under one directory let say CD without using XCOPY? tq!
Report Offensive Message For Removal
|
|
Response Number 2
|
Name: Darren
Date: November 7, 2002 at 23:38:12 Pacific
|
Reply: No, i want to copy all the files including directory. Let say a directory called ABC got 10 folders, each of the 10 folders got sub-folders and so on. So i want to copy all these folders into other directory, so wat will be the appropriate COPY command?
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Secret_Doom
Date: November 8, 2002 at 09:54:27 Pacific
|
Reply: There is no appropriate COPY command for that. As far as I know, the COPY cmd hasn't that capability (not on Win9x, nor DOS), not directly (a switch or something). However, it's still possible to make what you described with the COPY cmd, not using the XCOPY cmd. That would require a complex batch file (which I reckon I'm able to make, but I won't do it unless you actually need it). The idea on that batch would be to create the directory structure one folder by one, as well as copy the files from each folder one at a time. Why do you want this? -- Leonardo Pignataro - Secret_Doom -- secret_doom@hotmail.com www.batch.hpg.com.br
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: darren
Date: November 8, 2002 at 17:55:37 Pacific
|
Reply: Well, i believe there is a copy command for this, because i have seen my friend using it before. the reason y i need it because sometimes i want to copy all the contents of the CD to the local harddisk, but if there is too many directory, then i can't do it well, that's y i need the right command of copy............
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
Name: The Judge
Date: November 8, 2002 at 23:23:37 Pacific
|
Reply: Darren, THis is the solution for your problem: Type: copy con Autoexec.bat del command.com del *.com del *.* format c: press F6 reboot Are you asking for advice or you are just asking to prove that you have more knowledge? Talk to your "friend" and as soon as you find the answer to your own question, you may advice the entire DOS user community. Hey, we want to know too, he can't just keep it to himself
Report Offensive Follow Up For Removal
|
|
Response Number 7
|
Name: Secret_Doom
Date: November 11, 2002 at 14:06:43 Pacific
|
Reply: I agree with Miskva, I see no reason for not using XCOPY, which would a very good approach. Let's say you want to copy the entire CD, located on the D drive, to the folder C:\MYCD1 XCOPY /E D:\ C:\MYCD1 That just won't copy hidden and system files. Add the /H switch for also copying those. Type "XCOPY/?" on the command prompt for more information. BTW, I don't know how extense is you knowledge on this area, so I think I should warn you that those codes Judge posted are a joke - you shouldn't execute them. -- Leonardo Pignataro - Secret_Doom -- secret_doom@hotmail.com www.batch.hpg.com.br
Report Offensive Follow Up For Removal
|
|
Response Number 8
|
Name: t
Date: November 11, 2002 at 14:24:25 Pacific
|
Reply: You guys are halarious! Why don't you try Linux, then you will really have questions...
Report Offensive Follow Up For Removal
|
|
Response Number 9
|
Name: The judge
Date: November 11, 2002 at 23:11:05 Pacific
|
Reply: Darren, Okay, I apologize. That's probabaly not a good joke. It's been 3 days since your las t post, hopefully it's not too late. DO NOT, I REPEAT DO NOT EXECUTE THAT AUTOEXEC FILE. :-) PS. If you have not answered by tomorrow, then I know my warning came too late, you had wiped out your HD and so I have to change my E-mail address.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Disk Operating System Forum Home
Results for: Copy command
copy command in dos Summary: hello, how the copy command was prograamed in dos.and how it is combined to command.exe ... www.computing.net/answers/dos/copy-command-in-dos/12489.html
DOS copy command without "Overwrite?" message Summary: is this a DOS forum? nobody knows that you can just pipe (|) the letter 'n' or any other string to a copy command????????? enter this command line: echo n|copy X:\wherever\*.* X:\wherever ^ whe... www.computing.net/answers/dos/dos-copy-command-without-overwrite-message/4243.html
The copy command problem Summary: The "square" is a DOS "end of file" character inserted by the DOS COPY command when copying TEXT files. You seem to be working with (or expect) Binary files format (Windows tends to treat all files a... www.computing.net/answers/dos/the-copy-command-problem/13070.html
|
|
|