1. Introduction

RoboCopy is a powerful tool included in the Microsoft Windows Server that is used to perform more advanced file replication tasks. The biggest benefit you'll find is the ability to create full mirror duplicates of two file structures (including all subdirectories and files, if you choose). RoboCopy also allows you to preserve all of the associated file information, including date and time stamps, security access control lists (ACLs) and more which is missing from normal file copy operations.

For people who like to work with command line, RoboCopy.exe tool as it is comes with package is great enough for them. However, for those who are comfortable to work with GUI, here it is EazyCopy, a simple and intuitive GUI tool to RoboCopy command.

This tool is developed using Cinchoo - An application framework for .NET. It is another working example of using some of the key features of Cinchoo framework.

2. Features

3. How to Run

This tool can be started and run as:

3.1 Window Mode

By default, if you run the executable (ChoEazyCopy.exe), it will start as a Windows application. In the main window, you can compose RoboCopy command with your options, run them immediately. Additionally, you can save the RoboCopy command with options as profile (.ezy file) file and later you can open it using this tool to execute them as and when needed.

The main window looks like below,


Image 3.1.1 Main Window

3.1.1 Main Toolbar

Main application toolbar contains a set of application command buttons that gives users quick access to do compose, open, save profiles and control the execution of file operations.


Image 3.1.1.1 Main Toolbar

3.1.2 Folders Selection

This section of controls allows to choose the folders needed for RoboCopy operations.


Image 3.1.2.1 Choose Folders

3.1.3 Output


Image 3.1.4 Output

This output window shows the output messages of the RoboCopy operation.

3.1.4 Settings Help

It is a property grid window to visually edit and manage RoboCopy command line options group together by category.

It has the below 4 categories:

Each category contains a list of RoboCopy options. You can follow the below link for more help about RoboHelp:

Common Options

For Precommands & Postcommands, you can use {{SRC_DIR}} / {{DEST_DIR}} tokens to replace them with source directory / destination directory respectively.

3.2 Tray Application Mode

Sometimes, you may want to keep this tool running all the time and quickly go back to get access to this tool to carry out bulk file operations. In such cases, you can let them run in tray mode. By pressing 'minimize' button, the tool will be made to run in tray mode.

After minimizing the main window, the tool will run in system tray. The below image shows the tool in system tray.


Image 3.2.1 System Tray

In this mode, when you right click on this tool application icon, you will be given the below menu options:

The below image shows the system tray context menu of this tool.


Image 3.2.2 System Tray Context Menu


Image 3.2.3 System Tray Context Menu (Administrator/Elevated Mode)

3.3 Console Mode

This tool can be started as Console Application by passing /#AM:Console command line parameter to the executable.

>ChoEazyCopy.exe /#AM:Console test.ezy /s:"C:\Test1" /d:"C:\Test2"

Listing 3.3.1 Running as console mode

Where,

3.3.1 Help

To get help of the application, pass /? in command line.

Listing 3.3.1.1 Getting help

>ChoEazyCopy.exe /#AM:Console /?
ChoEazyCopy [Version 1.0.0.0]
Copyright c 2015
CHOEAZYCOPY SettingsFilePath [/s:<string>] [/d:<string>]
 SettingsFilePath Settings file path.
 /s Source directory.
 /d Destination directory.

Below is the screenshot of help.


Image 3.3.1.1 Console window

3.4 Shell File Type (.ezy) Association

This tool registers and associates .blk (profile settings file extension) files when you run this tool in elevated rights. Once registration is successful, you can open .blk files from explorer directly by double-clicking the file. The below screenshot shows the .blk file associations.


Image 3.4.1 ezy file association in Explorer

3.5 Explorer Shortcut Menu

This tool registers and associates to all folders when you run this tool in elevated rights. Once registration is successful, you can right-click on any folder in explorer and launch this tool by clicking 'Eazy copy...' menu. The below screenshot shows the shortcut menu associations on folders.


Image 3.5.1 Explorer Shortcut menu