Wednesday, July 25, 2018

Robocopy for copying files and folders in Windows

Hi all, I would like to share alternative step to copy files / folders in Windows apart from the conventional Windows Explorer copy method.

This Robocopy method will show the progress of your copy, files / folders being copied, size, number of files copied, skipped and etc.

To use this method, you may follow the below steps:

  1. Open command prompt by typing "cmd" without quotes or Windows Powershell by typing "powershell" once clicking Start icon in Windows.

    Note: Make sure you right click and click "run as administrator" for the application shortcut, regardless of command prompt or windows powershell - this is to avoid permission issues when running commands.
  2. Once opened, in order to run robocopy to copy files, you may type the below command to run:
    robocopy /E

    /E - copies all folders and folders including subdirectories which is empty

    Note: you may explore more additional command/ syntax for robocopy by typing "robocopy /?" without quotes.

Example:





No comments: