KioskeaKioskeaCommentCaMarcheSign up, it's free !
Friday July 4, 2008 - 10:58:39 am BST
batch folder copying
par yuyuman
 Threaded discussions
Statut : Not resolved
Sunday April 6, 2008 01:50:29 PM
Hello,

Another problem with my batch ramblings. I am trying to copy a directory and its subdirectories and files into another directory. What happens is, it only copies the files within the directories and not the actual structure. I have tried using the /? thing to find out a way but there is none listed that does the job. Here is my code :

xcopy /h /r /k /x /y/t folder1 folder2
Configuration: Windows XP
Internet Explorer 6.0
Reply to yuyuman  Report this message to moderators Go to last message

1


  • This message seems useful, vote!
  • Report this message to moderators
By Net4me, on Sunday April 6, 2008 04:15:10 PM Threaded discussions 
Hello


If you want structure only
xcopy /h /r /k /x /y /t /E folder1 folder2

If you want subdirectories with files

xcopy /h /r /k /x /y /S /E folder1 folder2
Reply to Net4me
Currently no message on this subject
Reply
Message title :
Your nick:
Your E-mail :
Message: 
  •  
  •  
Options: Get the answers by mail.
 

Help