A shortened version of weblog.

A shortened version of weblog.

How to Merge Text (.txt) Files in Command Prompt

  • Tech Hacks
  • 20 June 2022
  • 640 Views
  • Sathiyamoorthy V

#Step 1

Open the folder in which the text files are saved.

Start by opening the This PC or Computer directory in the right panel, and then browse to the folder where you have saved your files. Once you open the folder, you should see your text files in the right panel.

#Step 2

Right-click a blank area of the right panel. A context menu will expand.

#Step 3

Click Open command window here. This opens a command prompt window that is already set to the current directory.

#Step 4

Type copy *.txt newfile.txt at the prompt. Replace newfile.txt with the name of the file you want to create (e.g., mergedfiles.txt).

#Step 5

Press Enter to join the files. This creates a new file with containing the contents of all text files in the current folder

RELATED POST

03 June 2022   |   Tech Hacks
#5 - Tech Hacks For Your Every Day
Read More
02 June 2022   |   Tech Hacks
#4 - Tech Hacks For Your Every Day
Read More
26 May 2022   |   Tech Hacks
YouTube Hacks - 16 Tricks & Features You Probably Did Not Know About
Read More
22 June 2022   |   Tech Hacks
Keyboard Hacks for Microsoft Windows 10 PC
Read More
22 June 2022   |   Tech Hacks
Fun Google Tricks You Should Try
Read More
30 June 2022   |   Tech Hacks
Google Search Tricks to Find Exactly What You're Looking For
Read More
How to Merge Text (.txt) Files in Command Prompt
https://blogbyte.in/blog-details/?cid=3&pid=39

LEAVE A COMMENT

+