How to batch use TXT Notepad keywords as new file names?


TranslationEnglishFrançaisDeutschEspañol日本語한국어Update Time2025-12-09 17:55:25xuco


In the work of sorting out enterprise information, TXT text files, as a portable and common format, are often frequently recorded some important data and other key contents, so these files often contain specific numbers, codes or dates and other important keywords. When we want to change the name of a large number of TXT text files according to these core key information, we can only open and view each file, and then copy and paste the operation of manual renaming to deal with it. This is not only inefficient, but also consumes a lot of time. It is also easy to cause file name input errors due to fatigue of repeated operations, which is different from the actual content and affects the future use of the file.

So is there an efficient and accurate way for us to automatically extract the keywords in the TXT file and use this as a basis for batch renaming? Here is a way to quickly scan the text content, locate the target keywords and automatically update the file name to the corresponding keywords, then let's try it together!

When should according to the TXT text keyword rename file?

The

file is too difficult to distinguish

when there are a bunch of TXT files in the computer, it will be very troublesome to find them later. If the TXT files already have clear key information, such as order number, date, number, etc., we extract these keywords as folders, so that the files can see what they are at a glance and do not need to be opened one by one for confirmation.

Corresponding file business content

in some work scenarios, such as processing orders, maintenance records, express order numbers or equipment numbers, etc., the keywords of TXT files usually represent formal data. If the file name is manually entered, it is easy to make errors, resulting in the file and content not matching the number. The keyword of TXT content is directly renamed automatically to ensure that the file name is completely consistent with the document content.

Scan generated TXT collation

some systems will generate hundreds of text files with logs and data. These files are usually named by the system by default and do not know the specific contents. However, using a key number and label of the text file content to automatically rename can make the sorting process much faster and do not need to manually open each file for viewing.

Press similar text or number in TXT text to batch as new name effect preview

before treatment:

image-Use TXT in the keyword batch rename,according to the notepad content batch rename,TXT extract text in the keyword as a new name

after treatment:

image-Use TXT in the keyword batch rename,according to the notepad content batch rename,TXT extract text in the keyword as a new name

Batch According to TXT Text Encoding Rename Operation Steps

1. Open 【 HeSoft Doc Batch Tool ], select [File Name]-[Rename Text File with Text Content]].

image-Use TXT in the keyword batch rename,according to the notepad content batch rename,TXT extract text in the keyword as a new name

2. Select the text file that needs to be renamed according to the content of the file in [Add File] or [Import File from Folder]. It also supports dragging the file below to import, and then click Next.

image-Use TXT in the keyword batch rename,according to the notepad content batch rename,TXT extract text in the keyword as a new name

3. Enter the setting page, select [Text to which the custom formula matches], and enter the formula of the corresponding keyword in the regular expression below to search for the pattern. The position can be selected [Cover the entire file name], or it can be added to the left or right of the original file name. Finally, click Next, click Browse and select the location to save the new file.

image-Use TXT in the keyword batch rename,according to the notepad content batch rename,TXT extract text in the keyword as a new name

4. After waiting for the processing to end, click the red path to open the folder to view the renamed text file.

image-Use TXT in the keyword batch rename,according to the notepad content batch rename,TXT extract text in the keyword as a new name


KeywordUse TXT in the keyword batch rename , according to the notepad content batch rename , TXT extract text in the keyword as a new name
Creation Time2025-12-09 09:39:08xuru

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

Don't see the feature you want?

Provide us with your feedback, and after evaluation, we will implement it for free!