title: Batch file: Copy all files and folder except one folder
body: <p>I made a .bat file to copy some files, like backup and i need to copy all except one folder.
  I have, for example, folder test, and subfolders bin, log, Account... and some more files and i want to copy all files and folders except folder "log".</p>
  
  <p>This is my code for copy all:</p>
  
  <p>if not exist "C:\inetpub\wwwroot\backup\test" xcopy "C:\inetpub\wwwroot\test" "C:\inetpub\wwwroot\backup\test" /s /i</p>