> How to > Todo Backup Resource > How to Backup Files and Folders Using Command Prompt in Windows 10

How to Backup Files and Folders Using Command Prompt in Windows 10

Updated on May 10, 2019 by Jean to Todo Backup Resource

Summary:
If you do not know how to back up files and folders using Windows 10 backup command line, here are the step by step guides to make you through. Besides, you can use EaseUS Todo Backup Workstation command line to help you complete differential, full, or incremental backup of your files/folders, partition/disk, and system more flexibly and easily.

Windows operating system has a mass of inbuilt backup and recovery programs. For example, File History in Windows 10 for backing up specific files and folders that often change, Backup and Restore in Windows 7 for making a full system image, and System Restore, Fresh Start. What we are going to talk about on this page is how to back up files and folders using the command prompt in Windows 10. What's more, except for the Windows command prompt for simple file copy, we also recommend you try EaseUS Todo image backup software to back up the files, folders, partitions, disks, systems on your computer with an advanced but easier command line.

2 Ways to Backup Files and Folders from Command Prompt in Windows 10, 8 or 7

To prevent file loss due to system crash, file corruption, virus infection, etc. on your computer, it is necessary to back up your computer data from time to time. In Windows 10, you can easily copy files and folders from source to destination using the Robocopy command. While if you want to back up your partition, disk, or Windows system, Robocopy can't help you. Then you need a developed backup tool to support you, like EaseUS Todo Backup Workstation here. 

Part 1. Backup Using Windows 10 Command Line

Robocopy, short for Robust File Copy, provides more than 80 command-line parameters and switches for users to have an additional file copy for backup. A typical use scenario for this Windows 10 command backup line is copying a large file share. See the following detailed instructions.

Step 1. Tye cmd in the search box, or press Windows + R (a run dialog box will be displayed ) and type cmd to open Command Prompt will show up.

Step 2. Type the command Robocopy (or xcopy for Windows 8/7/XP users) in this form: robocopy + space + source path + destination path. You can follow the example and create your own.

Robocopy "D:\test" "F:\test 1" (This is the simplest usage for Robocopy to copy contents of D:\test to F:\test 1)

backup files using command prompt Windows 10

Step 3. Press "Enter" and all your target files and folders will be backed up to your desired location, which can be any drive including an external USB flash drive.

backup files using command prompt Windows 10

Part 2. How to Backup Partition/Disk/System Using Command Line Backup Software

If your needs are backing up partition, disks or systems, the Robocopy command can't meet the demands. To do so, you can try EaseUS Workstation command line backup tool that enables you to back up file, folder, partition/disk, and system under Windows command line directly, only performs the etbcmd command. You can schedule a differential, full, or incremental backup each time as you need.

Apart from the command line backup, EaseUS Todo Backup Workstation also provides you the graphical interface to clone several partitions to a new disk (HDD/SSD) at a time or clone Windows OS to SSD without re-installation.

Step 1. Run Command Prompt as administrator and run the command etbcmd to start EaseUS Todo Backup.

easeus todo backup command line starts

Step 2. All the command and parameters of this tool will be listed below.

easeus todo backup action details

Step 3. Here is an example of creating a backup task. And, you'd better list all partitions and disks on your computer first to confirm which partition you need to backup before creating a job.

easeus todo backup command line example

easeus todo backup command line list disk partition

Step 4. If you want to back up your system, you could use the parameter “/s system”, Todo Backup will choose the system and boot partitions to backup them directly. You can also select partition manually. It should be partition 1 and 3 on the above list. 

easeus todo backup command line create system backup task

Step 5. For backing up to network drive, the location could be set as below.

easeus todo backup command line network drive