Copy files or folder

Solved/Closed
Raja - Nov 13, 2008 at 11:15 PM
 Aurelio - Nov 29, 2011 at 02:12 PM
Hello,
I am raja. I need one batch file, using that bat file i want to copy all files or folder to another location.
Give me a quick & good reply.


Thanking you,
Raja E.

2 replies

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb491035(v=technet.10)?redirectedfrom=MSDN (scroll to the bottom there are some examples.)

xcopy C:\folderA D:\folderB /s /e
19
darkgen
Posts
1
Registration date
Sunday August 16, 2009
Status
Member
Last seen
August 17, 2009

Aug 17, 2009 at 10:07 AM
i would to ask if your batch file can be use, even if the destination is map drive?

-darkgen-
0
how can i copy to desktop file.. this command is not working pls help me
0
try

xcopy %userprofile%\desktop\folderA D:\folderB /s /e
0
Hi,
Thanks for your kind solution for my doubt.


Thanks You,

Raja E.
4