Simply write the following code :
! /n xcopy Source [Destination]
Suppose I want to copy the d:\temp directory into d:\rafiq
Then write the following code:
! /2 xcopy d:\temp d:\rafiq\temp /i /y /e
here the parameters mean:
/2 : dos window active and minimized
/i : if the soursce directory does not exist in destination directory it creates.
/y : overwrites existing files or folders
/e : copying directories and subdirectories including empty ones
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.