Will contain multiple novel chapters plain text format file name to the file first line title for bulk change


TranslationEnglishFrançaisDeutschEspañol日本語한국어Updated on2025-06-07 20:22


When there are a large number of txt text files, each file contains a chapter in a novel, the first line of which is the title of the novel. When there are too many plain text files, the file name needs to be modified according to the title content of the first line of the book chapter in the file. Opening and viewing the title one by one and then renaming it not only wastes time, but also reduces the efficiency of our operation. The following describes how to replace the file name of the txt file with the content of the first line in the text file in batch.

1. Use Scenarios

modify the file name of a txt, plain text file to any number of characters in the first line of the file.

For example: Novel Chapters 1.txt, Novel Chapters 2.txt, Novel Chapters 3.txt three txt plain text files

The title of the first line of the article needs to be replaced with the file name, The turning point of fate, Misty mystery, The Call of the Brave.

The turning point of fate.txt, Misty mysery.txt, The Call of the Brave.txt

2. Effect preview

before treatment:

image-Will contain multiple novel chapters plain text format file name to the file first line title for bulk change

image-Will contain multiple novel chapters plain text format file name to the file first line title for bulk change

after treatment:

image-Will contain multiple novel chapters plain text format file name to the file first line title for bulk change

image-Will contain multiple novel chapters plain text format file name to the file first line title for bulk change

3. Operation steps

open 【HeSoft Doc Batch Tool], select [File Name]-[Rename Text File with First Line]].

image-Will contain multiple novel chapters plain text format file name to the file first line title for bulk change

[Add File] Add single or multiple notepad and plain text files that need to be renamed.

[Import File from Folder] Import a folder containing a large number of notepad and plain text files that need to be renamed.

You can also drag files directly below. Then click Next.

image-Will contain multiple novel chapters plain text format file name to the file first line title for bulk change

[Only intercept the first how many characters?] 1 letter for 1 character, need to take the number of words of the content on the number of input characters. If the entire content of the first row is selected, it is empty.

image-Will contain multiple novel chapters plain text format file name to the file first line title for bulk change

After waiting for the processing to complete, click Save Location to view the renamed text file.

image-Will contain multiple novel chapters plain text format file name to the file first line title for bulk change

Disclaimer: The text, images, videos, etc., on this website are limited to the software version and operating environment used when creating this content. If subsequent product updates cause your operations to differ from the content on the website, please refer to the actual situation!

Related Articles