在记事本中合并两个文件 [英] Merging two files in Notepad

查看:75
本文介绍了在记事本中合并两个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个 30k 行长的长文件.有没有办法像在 Notepad++ 或其他软件中那样合并它们?

Hi i have two long files both 30k lines long. Is there any way of merging them like that in Notepad++ or using other software?

1st line from 1st file: 1st line from second file

推荐答案

以下是使用 Excel 的可能解决方案:

Here is a possible solution using Excel:

1.)用 Excel 打开第一个文件(所有文本应在一列中)

1.) Open the first file with Excel (all the text should be in one column)

2.)用 Excel 打开第二个文件(所有文本应在一列中)

2.) Open the second file with Excel (all the text should be in one column)

3.)回到你的第一个文件,在第二列的每一行添加一个 :

3.) Go back to your first file and add a : to every row of the second column

4.)复制第二个文件的第一列并粘贴到第一个文件的第三行

4.) Copy the first column of the second file and paste it to the third row of the first file

5.)将合并后的文件另存为 *.txt 文件

5.) Save the combined file as *.txt file

这篇关于在记事本中合并两个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆