xcopy all folders and subfolders and files code example Example: xcopy folder to another folder Xcopy C:\test D:\test /E /H /C /I