How to add the same prefix text or suffix text to all file names in multiple folders


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


The induction and arrangement of files cannot be ignored all the time. When there are multiple folders with different formats of files that need unified management, it is easier for us to add the same prefix or suffix text to the file name. It can quickly identify the file type and content according to the prefix suffix, helping us to easily find the file and accurately classify it into the corresponding folder. When the number of files processed is too large, adding the same prefix and suffix to the file name can make the file more clear at a glance, eliminating the tedious process of sorting and summarizing. The following describes how to quickly batch add the same prefix and suffix text or numbers to the file names of word, ppt, excel, pdf, txt format files in multiple folders.

1. Use Scenarios

add the same text, numbers, symbols, etc. to the front or back of the file name. Batch addition is also supported when the number of files is too large.

For example: apple.word, banana.pdf, orange.pptx

you need to add hello-to the left of the file name and -2025 to the right.

Add hello-apple-2025.word, hello-banana-2025.pdf, hello-orange-2025.pptx

2. Effect preview

before treatment:

image-How to add the same prefix text or suffix text to all file names in multiple folders

after treatment:

image-How to add the same prefix text or suffix text to all file names in multiple folders

3. Operation steps

open 【HeSoft Doc Batch Tool], click [File Name]-[Add Prefix and Suffix to File Name]].

image-How to add the same prefix text or suffix text to all file names in multiple folders

[Add File] Add a single or multiple files that need to be added with a prefix or suffix.

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

image-How to add the same prefix text or suffix text to all file names in multiple folders

To import a file from a folder:

import All Files Import all files in a folder (including subfolders).

[Custom Import Level Depth] Select the level of subfolders in the open folder.

[Exclude Special Files] Check to automatically exclude files starting with ~ and $.

[Select Extension from List] Select the supported extension content in the extension below.

[Manual input extension] supports entering various extensions below, such as jpg, word, excel, pdf, ppt and other file formats.

image-How to add the same prefix text or suffix text to all file names in multiple folders

After clicking OK, you can see that the files have been imported. Determine the files to be processed and click Next.

image-How to add the same prefix text or suffix text to all file names in multiple folders

Select [Add Prefix] or [Add Suffix], enter the text or digital content to be added in the text box below, and click Next after completion.

image-How to add the same prefix text or suffix text to all file names in multiple folders

Save:

[New Location] Click Browse below to save the modified file in the specified location.

[Delete and overwrite the original path] directly overwrites the original file for saving.

[Same Location as Original Path] The modified file is generated at the file location of the original file without overwriting the original file.

Directory level:

[Tile to New Location] saves all modified files directly to a new location.

[Retain the original directory hierarchy] Save the modified file in the folder directory structure where the original file was saved.

Processing mode:

[System Default] Process files simultaneously with the system default number of cores.

[Only one record can be processed at the same time] A single core process file.

[Custom] Choose the number of cores to process files at the same time.

Notification after processing:

[Do not display notification] No notification will be made after the processing of the file is completed.

[Display notification and play music] After processing the file, the completion box will be displayed in the lower right corner and music will be played.

[Display notification but no music] After the processing file is completed, the completion box is displayed in the lower right corner but no music is played.

image-How to add the same prefix text or suffix text to all file names in multiple folders

Wait for the processing to complete, click on the saved folder to view the modified files.

image-How to add the same prefix text or suffix text to all file names in multiple folders

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