Batch add any parent folder name and date content from the upper-level directory to the end of the file names for thousands of files


Translation:EnglishFrançaisDeutschEspañol日本語한국어,Update Time:2025-06-07 20:23:50

Disclaimer: All images, text, and video content on the website are for reference only and may not be the latest, correct, or accurate. In case of any dispute, please refer to the actual experience effect!

When processing a large number of files and needing to dynamically retain source information, appending the specified parent folder name and custom date content to the end of the file name is suitable for scenarios where the storage structure is not fixed. No matter which directory level the file is moved to, the classification can be identified through the file name. Adding the parent folder name to the file name combined with a custom input year and date maintains naming flexibility while ensuring key information is not lost. This approach is highly effective in scenarios such as temporary file organization and cross-department collaboration, where source information needs to be retained but the directory structure may change. The following explains how to batch append any parent folder name from the path and a custom year and date to the end of thousands of files, supporting various file formats such as Word, Excel, JPG, PPT, and PDF.

1. Use Cases

When you need to change storage paths for a large number of budget reports, design proposals, and other files, or exchange them across platforms, you can batch append the name of the parent folder one, two, or three levels up to the end of the filenames, and optionally add a custom year and date. This preserves the original categorization and carries source information, allowing quick sorting even when files are separated from their directory structure.

2. Preview

Before processing:

image-Batch add any parent folder name and date content from the upper-level directory to the end of the file names for thousands of files

After processing:

image-Batch add any parent folder name and date content from the upper-level directory to the end of the file names for thousands of files

3. Steps

Open HeSoft Doc Batch Tool , select [File Name] - [Add Parent Folder Name to File Name].

image-Batch add any parent folder name and date content from the upper-level directory to the end of the file names for thousands of files

[Add Files] adds one or more files for which you need to add the parent folder name at the beginning or end of the filename.

[Import Files from Folder] imports a folder containing a large number of files that need to have their parent folder name added at the beginning or end of their filenames.

Imported files are displayed below.

image-Batch add any parent folder name and date content from the upper-level directory to the end of the file names for thousands of files

[Position] Start: Adds the parent folder name to the very beginning of the filename. End: Adds the parent folder name to the very end of the filename.

[Folder Level Index] The level index corresponds to the position of the folder in the path. For example, given a file path like [d:\a\b\c.txt], 1 represents 'b', 2 represents 'a', and so on.

[Custom Text on Left] Adds custom content to the left of the appended parent folder name. Here, we added the date and quarter on the left, as shown in the preview.

[Custom Text on Right] Adds custom content to the right of the appended parent folder name.

image-Batch add any parent folder name and date content from the upper-level directory to the end of the file names for thousands of files

Once processing is complete, click the path next to the save location to view the files with the names added.

image-Batch add any parent folder name and date content from the upper-level directory to the end of the file names for thousands of files

Creation Time:2025-04-07 14:39:37

Disclaimer: All images, text, and video content on the website are for reference only and may not be the latest, correct, or accurate. In case of any dispute, please refer to the actual experience effect!

Related Articles

Don't see the feature you want?

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