xcopy line needed - help!

F

fallon

Can someone tell me how I can copy a folder and/or a file
in xcopy? If you could respond with the correct command
then I can cut and paste it in.

Thanks, I'm having a very hard time trying to get at my
old files on a slave drive.


Here's what I need to do:

Copy the folder:

E:\My Documents\animation demo

to

C:\anim demo



OR do I need to transfer one file at a time?

Then I'd need (as one eg.) to copy:


E:\My Documents\animation demo\my_turn.wav

to

C:\anim demo



Is xcopy case-sensitive? If you are copying from MY
DOCUMENTS do you still include the space between MY and
DOCUMENTS or do you make it all one word?

Confused, but learning.

Thanks

Fall
 
R

Ron Martell

fallon said:
Can someone tell me how I can copy a folder and/or a file
in xcopy? If you could respond with the correct command
then I can cut and paste it in.

Thanks, I'm having a very hard time trying to get at my
old files on a slave drive.


Here's what I need to do:

Copy the folder:

E:\My Documents\animation demo

to

C:\anim demo

Can't you use Windows Explorer to do this job for you?

Open the folder E:\My Documents\animation demo
Select any file in the folder. Press Ctrl+A (= select all then
Ctrl+C (= copy selection)

Then open the folder C:\anim demo and press Ctrl+V to paste the
selected items into that folder.

Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

"The reason computer chips are so small is computers don't eat much."
 
C

Cindy Winegarden

Hi Fallon,

If the path and name of the file or folder have spaces then you need to put
quotes around the whole thing.

XCOPY "C:\Folder with spaces\File name with spaces.txt" "D:\Other folder
with spaces\Other file with spaces.txt"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top