Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

XCOPY help please


  • Please log in to reply
1 reply to this topic

#1 JJ2K

JJ2K

  • Members
  • 162 posts
  • OFFLINE
  •  
  • Local time:11:46 AM

Posted 03 March 2009 - 09:10 AM

Hi,

I am trying to copy some folders over using XCOPY inside something called opendos.

When I use:

xcopy d:\documeČ1\user\ r:\

It copies all the files inside that user to the r:\ drive, however not any of the subfolders or files inside the subfolders

I've tried adding /S to the end of this but it doesn't change anything.

Any idea on how to copy the subfolders and files inside subfolders over?

It seems to be ignoring the switch at the end:
xcopy d:\documeČ1\user r:\ /s
Just copies the files in user directory and not the subfolders or files in subfolders

Edited by JJ2K, 03 March 2009 - 09:28 AM.


BC AdBot (Login to Remove)

 


#2 X Files

X Files

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Here
  • Local time:06:46 PM

Posted 03 March 2009 - 01:45 PM

Hi;

Just you need to use /E

the right command line should be

xcopy [source path] [target path] /E

also please do not forget to use /H for hidden & system files, If there is something wrong copy stops, if you do not want to stop for any error please use /C;

For more information "CMD>help xcopy"
Everything will be better...!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users