Thousands of files at the end of the file name batch add directory superior to any parent folder name and date content
Translation:EnglishFrançaisDeutschEspañol日本語한국어,Updated on:2025-06-07 20:23
When processing a large number of files to dynamically retain source information, add the specified parent folder name and custom date content at the back of the file name. This method is suitable for scenarios where the storage structure is not fixed, no matter which level of directory the file is moved to, the file name can be identified and classified. Let the file name add the name of the superior folder and combine it with the year and date of the custom input, which not only maintains the flexibility of naming but also ensures that key information is not lost. The effect is significant in scenarios such as temporary file collation and cross-department collaboration where the source needs to be retained but the directory will change. The following describes how to batch add the name and custom year date of any folder at the upper level of the path to the end of thousands of files. Word, Excel, JPG, PPT, PDF and other file formats are supported.
1. Use Scenarios
there are a lot of files such as budget reports and design schemes whose storage paths need to be changed or exchanged across platforms. We can add any folder name at the upper level, upper level, or upper level of the directory at the back of these files in batch, and customize the year and date of addition to retain the original classification and carry source information, so as to quickly classify them out of the directory.
2. Effect preview
before treatment:
after treatment:
3. Operation steps
open 【HeSoft Doc Batch Tool], select [File Name]-[File Name Add Name of Parent Folder]].

[Add File] Add single or multiple files that need to be added to the upper folder name at the beginning or end of the file name.
[Import File from Folder] Import a folder that contains a large number of files that need to add the upper folder name at the beginning or end of the file name.
The imported files can be viewed below.

[Location] Start Location: Add the name of the superior folder in front of the file name. End Location: Add the parent folder name after the file name.
[Folder Level Serial Number] The level serial number is the serial number of the location where the folder in the path is located. For example, there is a file path: [d:\a \B \c.txt], 1 means B, 2 means a, and so on.
[Text on the Left of Customization] Add custom content to the left of the added upper-level folder name. Here we have added the date and quarter content on the left, as shown in the effect preview.
[Text on the Right of Customization] Add custom content to the right of the added parent folder name.

After waiting for the processing to complete, click the path behind the save location to view the name of the added file.
