Skip to main content

How to Combine Multiple Text Files into One File

There is an easy way to combine a number of text files become one text file with a simple command via the command prompt.

Here are the steps:
• Put the files to be merged into one folder
for example I put it in a folder with the name is Merge in drive D



• Go to the Command Prompt
(Press Win + R, then type CMD, press Enter)
• At the Command Prompt Type D: and press Enter (because of my folders stored on drive D)
• Type cd Merge (due to my folder named Merge) and press Enter


• Then type the following code: (you can copy paste)
for %f in (*.txt) do type "%f" >> new.txt 
( new.txt is the name of the output file, the name is up to you)
• Press Enter
The merger will take place automatically
• Go the folder and see the result.

See Also :

How to End Task using Click Mouse, Without Ctrl+Alt+Del
How to lock the leftmost column or top row cells in Ms Excel 2007
How to display Random Home Page in Browser
Backup and Restore HP ProCurve Switch Configuration via Serial port
Easy script to make the computer speaks according to the words we wrote

Popular posts from this blog

How to Enable Hyper Terminal In Windows 7

Hyperterminal Windows 7. Windows 7 Hyperterminal. Hyper terminal is used for data communication via serial port com or TCP/IP Winsock. Unfortunately on Windows 7, Windows 8 and Windows 10 we can't see anymore, even though many of us who still need it, and it is not the solution if we have to go back to Windows XP. The solution :

Vaio stuck on loading screen after upgrading to Windows 10

My Sony Vaio laptop model : VPCCA16FB with originally using Windows 7 operating system, then now I already upgraded it to Windows 10. All drivers are already installed for each device, everything is OK with this Windows 10 OS. The only problem is:  when I switch the laptop on or restarting it, after vaio logo appears then it stuck with blank screen and it takes about 2 minutes. After that, then it continues to loading Windows. After I googling about the problem, I am not only the one, other people also have the similar problem with their laptops. The cause is in the Ultra Low Power State (ULPS) system. ULPS is a feature or mode in hardware (graphics card) designed to save power by reducing energy consumption to very low levels. Now the problem is solved. If you have the same or similar problem, maybe this below step will help you too.

How to deny access to a drive in Windows 10

How to disable access to drives in Windows.  One of ways to  make disable access to drives in Windows (all Windows, Windows 10, Windows 8, Windows 7, also Windows server.. ), you can use Group policy editor . Below are  the steps: 1. Press Windows + R  (to open Run command ), write gpedit.msc at Run column, then hit Enter or click OK.