How To Combine Files From Parts

Table of contents:

How To Combine Files From Parts
How To Combine Files From Parts

Video: How To Combine Files From Parts

Video: How To Combine Files From Parts
Video: Easiest way to COMBINE Multiple Excel Files into ONE (Append data from Folder) 2024, December
Anonim

Many utilities and file managers have the function of splitting files into several parts. This feature allows you to transfer large files on multiple media of smaller capacity. For subsequent use, you need to reconnect the files from the parts. But what if the target machine does not have a utility for this task?

How to combine files from parts
How to combine files from parts

Necessary

  • - the right to read the connected files;
  • - the right to write to any directory on the disk;
  • - sufficient disk space to form the resulting file.

Instructions

Step 1

Open a shell dialog to run programs. To do this, click the "Start" button located on the taskbar. After that, in the menu that appears, click on the "Run" item.

If the menu opened by pressing the "Start" button does not contain the "Run" item, enable its display in the settings dialog of this menu. Right-click on the Start button. A context menu will appear. Select "Properties" in it. The Taskbar and Start Menu Properties dialog box appears. In this dialog, go to the "Start Menu" tab by clicking on it with the mouse. Click the "Configure …" button. Depending on the current Start menu style, the Customize Start Menu or Customize Classic Start Menu dialog box appears. In the Customize Start Menu dialog box, click the Advanced tab. In the list of parameters of the last opened dialog, turn on the display of the "Run" command. Click the OK button in the open dialogs.

Step 2

Start command processor cmd. In the displayed Run Program dialog, enter cmd in the Open text box. Click OK.

Step 3

Change to the directory with the linked files if they are in the same directory. In the console, enter a command containing the name of the drive containing the desired directory, followed by a colon, and press Enter. So, to go to drive D, you need to enter the command:

D:

Enter the cd command followed by the absolute or relative directory path. Hit Enter. For example, to change to the D: / Temp directory, enter the command:

cd D: / Temp

You can enter several cd commands with relative paths, sequentially going into subdirectories.

Step 4

Check out the help for the copy command. Enter the command in the console:

copy /?

Hit Enter. Read the displayed text. Pay attention to the command options.

Step 5

Connect files from parts. Enter a command like:

copy + + … +

where,, etc. - absolute or relative paths to the source files, specified in the order in which they should be placed in the result file specified by the path. So, to join the file file1.txt located in the current directory, the file2.txt file located one level higher, the file3.txt file located in the root directory of the C drive into one file result.txt, which will be placed in the current directory, you can enter the command:

copy file1.txt +.. / file2.txt + C: / file3.txt result.txt

After entering the command, press Enter and wait until the files are copied. If necessary, use the parameters of the copy command to copy files in binary or ASCII mode, disable or force enable overwrite confirmation, etc.

Recommended: