Skip to content

Frxhb/robocopy_gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robocopy_gui

A powerful Powershell Robocopy Gui.

What is possible with this tool?

With this simple powershell tool / gui you are able to use the robocopy program (which is installed by default on any Windows OS) to copy folders on your computer with the use of many parameters.

After you have chosen the source and destination folder the script will start with the use of the chosen parameters the robocopy job.


Screenshot 1:

mainprogram


Screenshot 2: mainprogram

Here is a small example of what will happen in the background.

The code which will be executed is:

PS C:\> start-process -FilePath C:\Windows\System32\cmd.exe RunAs -ArgumentList /K robocopy "C:\Users\Francesco\Desktop\Test 1" "C:\Users\Francesco\Desktop\Copy_dest" /V /E /R:0  /W:0  -PassThru

So the important part is:

PS C:\> robocopy "C:\Users\Francesco\Desktop\Test 1" "C:\Users\Francesco\Desktop\Copy_dest" /V /E /R:0  /W:0  -PassThru

Screenshot 3: mainprogram

Here you can see the script while running.


Screenshot 4: mainprogram

Here you can see the result when the job is finished.

Prerequisites

To be able to run this script, you have two possible options:

  1. You need to change the ExecutionPolicy on your computer. To do so, start powershell with Admin-Rights and paste the following code and confirm it with [A]:

Set-ExecutionPolicy bypass

  1. If you dont want to change the ExecutionPolicy, you can copy and paste the content of the powershell script and create and run a new powershell script on your local machine.

Errors or Comments

If you encounter any errors or if you miss some features, let me know

Note

Because I use powershell in this tool, it's limited to Windows.