How can I unify and delete messy folder suffixes? Tutorial on batch cleaning right-side names by pressing END to locate
Translation:EnglishFrançaisDeutschEspañol日本語한국어,Update Time:2026-10-12 22:36:59
Suffixes such as Final, Done, Paid, and Edited in folder names can be batch-cleaned with the help of the co-occurring END text if they no longer need to be retained. Starting from real-world office directory organization, this article demonstrates using HeSoft Doc Batch Tool to import multiple folders, selecting "All content to the right of a certain text" in the Delete Text feature, entering END, and turning off "Include this text." Once completed, the main part to the left of END and END itself remain unchanged, while suffixes of varying lengths and content to the right are deleted in one go. This is suitable for project delivery, historical archive organization, and batch directory standardization.
Office materials accumulated through multi-person collaboration or long-term use often have status descriptions appended to folder names. For example, a project may use Draft when created, change to Approved after review, and add Final upon delivery; some directories also include Release, Paid, Public, Edited, or Done. In the short term, these labels can help the team judge progress, but when the project ends and everything is archived together, too many status suffixes can make directory names long and cumbersome, affecting browsing and retrieval.
Faced with a large number of similarly structured folders, many users think of renaming them one by one by pressing F2. However, the suffixes on the right side of different directories are not all the same length, so it is not possible to simply delete a fixed number of characters each time. A more suitable approach is to find boundary text that commonly exists in the names, such as END, and then batch-delete all content to the right of END.
This article will use a group of folders containing END as an example to explain how to complete batch cleanup through the office software " HeSoft Doc Batch Tool ". The overall idea is not to search for every type of suffix, but to use END as a unified positioning point: the project body to the left of END remains unchanged, END itself is retained, and everything to the right of END, whether Final, Archive, or Report, is deleted uniformly.
Applicable scenarios: which directories can be cleaned according to specified text
Deleting content to the right of a specific text is suitable for folders with clear naming rules. The key is not whether the right-side content is consistent, but whether there is a common boundary between the part to be retained and the part to be deleted.
Cleaning status suffixes after project completion
During project execution, the team may append different statuses to the end of folder names. When archiving, if you only want to keep the project name, batch information, and the END marker, you can clear all statuses to the right of END at once.
Standardizing customer or order directories
For example, an order folder contains the customer name, order number, END, and payment status. After settlement, if text such as Paid and Pending is no longer used for classification, you can batch-truncate the right side of the names by END while retaining the order body.
Archiving photos, design drafts, and content materials
Material directories may carry suffixes such as Edited, Approved, and Public. When archiving uniformly, using a fixed separator text to determine the deletion position can avoid modifying items one by one due to different suffix lengths.
Organizing test data and version directories
Test folders are often accompanied by environment or result descriptions such as Release, Clean, and Report. If these descriptions have already been moved into project documents, the directory names can be simplified in batches.
This method also applies to Chinese positioning text, such as "已完成", "分隔", and "截止", but you must ensure that the entered text matches the actual content of the folder names. The target in the screenshots of this article is to process folder names, not to modify the doc, docx, xls, xlsx, pptx, or pdf documents inside the folders, nor to rewrite document content.
Effect preview: name comparison before and after deletion
Before processing: each END is followed by different content
Below is the folder list before batch processing. You can see that the bodies of the names are different, and the status suffixes after END are also different.

For example:
- Backup_START_tempFiles_END_Final
- Build_START_debugInfo_END_Release
- Data_START_sampleChunk_END_Clean
- Design_START_oldVersion_END_Approved
- Notes_START_privateText_END_Public
- Task_START_removeThis_END_Done
If word-by-word replacement is adopted, you would need to handle Final, Release, Clean, Approved, Public, and Done separately. When new suffixes appear in the future, you would need to set rules again, which is not efficient. Since all content to be deleted is located to the right of END, deleting by position is more direct and makes it easier to obtain consistent results.
After processing: folder names uniformly end with END
After executing batch processing, the directory names become as shown below:

The original body parts remain unchanged, and END is also retained, but the underscore and status text to the right of END have been deleted. The processing results include:
- Backup_START_tempFiles_END
- Build_START_debugInfo_END
- Data_START_sampleChunk_END
- Design_START_oldVersion_END
- Notes_START_privateText_END
- Task_START_removeThis_END
From the results, it can be seen that this rule does not care how many characters the suffix contains, nor does it require the suffix content to be identical. As long as END can serve as a reliable boundary, multiple naming patterns can be processed at once. This approach is especially suitable for batch deletion of folder suffixes, cleaning status remarks, and standardizing historical project directories.
Operation steps: batch-delete right-side names using END as the boundary
Step 1: Select the delete text function in the folder name tool
After starting HeSoft Doc Batch Tool , enter the "Folder Name" category in the left navigation bar. The main area will display multiple tools related to folder renaming, including find and replace, insert text, add prefix and suffix, case conversion, and delete text.

The goal this time is to delete all content after a certain position in the names, so click "Delete text in folder names". Choosing the correct function is very important: if you enter find and replace, you can only perform replacement around specific keywords; however, the right-side suffixes are not the same, and setting replacement conditions one by one will increase the number of operations.
The software is positioned for batch processing of office documents and files, applying the same rule to multiple records through a unified task flow. For users who often need to organize project directories, historical materials, or customer folders, this kind of batch processing can significantly reduce repetitive manual renaming.
Step 2: Add folders and check the pending records
After entering the function page, first arrive at the "Select records to process" step. Click "Add Folder" in the upper right corner and select the directory to be renamed uniformly. After the folders are added, information such as name, path, creation time, and modification time will be displayed in table form.

In the screenshot, 10 folders have been imported, and all names contain END. Do not rush to the next step at this point. It is recommended to first perform the following checks:
- Check whether the number of records matches the intended number of folders to be processed;
- Check the paths to confirm that directories with the same name from other projects have not been selected;
- Spot-check whether all names contain END, and confirm that the position of END is indeed the boundary between the content to be retained and the content to be deleted;
- Check whether there are important directories or active projects still in use, to avoid renaming without confirmation.
If an item that does not need to be processed appears in the list, you can remove the record through the delete icon in the "Actions" area of that row. The interface also provides a "Clear" button, so when the entire list has been added incorrectly, you can select again. After confirming there are no errors, click "Next" at the bottom to enter the rule settings page.
Step 3: Set the rule to delete all content to the right of END
On the "Set processing options" page, you can see multiple operation types, such as all numbers, all whitespace, the rightmost several text characters, all content between two texts, all Chinese characters, all content, all content to the left of a certain text, position range, and all content to the right of a certain text.

In this example, you should select "All content to the right of a certain text". In this way, the software will locate the starting point of deletion based on the specified text, without needing to calculate in advance how many characters Final, Release, or Archive each has.
Enter END in the "Text" input box below. When entering, it is recommended to refer directly to the folder names and avoid entering extra spaces or using the wrong case. If you enter "END_", the positioning condition will change; if you enter "end" while the original names actually use uppercase END, the expected match may not be achieved. Therefore, the rule text must be consistent with the actual names.
Next, check the "Include this text" switch. In this example, the switch is off, and the processing result retains END while deleting only the content to its right. In other words:
- Content to the left of END: retained;
- END itself: retained;
- Content to the right of END: deleted;
- The connecting underscore immediately after END: belongs to the right-side content, so it is also deleted.
For example, "Photo_START_rawSet_END_Edited" will become "Photo_START_rawSet_END", not "Photo_START_rawSet_". This is exactly the final effect shown in the screenshot.
Step 4: Continue to complete the save settings and start processing
After setting the parameters, click "Next" at the bottom of the page. From the process prompts at the top of the interface, you can see that there are still two stages ahead: "Set save location" and "Start processing". Follow the prompts on the current software page to complete the subsequent settings, and check the pending records and rules again before formal execution.
The advantage of a batch task is that the rule is applied once, but it also means that an incorrect rule may affect multiple names at the same time. Therefore, for important directories, it is best to first select two or three copies for trial processing. After confirming that END is retained and the right-side suffixes are correctly deleted, process the complete list.
Step 5: Check the batch renaming results
After processing is complete, go to the corresponding directory to check the folder names. It is recommended not to check only the first item, but also spot-check names with different structures. For example, you can choose Paid with a shorter suffix, Approved with a longer suffix, and subjects containing numbers such as 2024Draft or batch001.
During the check, confirm the following:
- The number of folders has not changed abnormally;
- END still exists in each target name;
- No status suffix or connector remains to the right of END;
- The customer name, project name, number, and other subject information to the left of END are complete;
- Business programs that need to continue using these paths can recognize the renamed directories.
Why choose "locate by text" instead of deleting a fixed number of characters from the right
"Delete the rightmost several text characters" is suitable for scenarios where all suffix lengths are completely consistent. For example, only if every name always has an 8-digit date appended at the end can you consider deleting by quantity. But in this example, Final, Release, Archive, Clean, and Approved have different character lengths. If a fixed number is deleted uniformly, two types of problems are likely to occur.
The first type is insufficient deletion. For example, if only 5 characters are deleted, Release or Approved will still leave some letters behind. The second type is excessive deletion. Increasing the number of deleted characters to cover the longest suffix may also remove END or part of the subject name.
When using "All content to the right of a certain text", the deletion range is determined by the position of END and is independent of suffix length. As long as the naming boundary is stable, the processing rule is clearer and the result is easier to predict before execution.
Common questions and precautions
Question 1: Why is END still retained after processing?
Because this time the "Include this text" option is turned off. The goal of the operation is to delete all content to the right of END, not to delete END itself. Retaining END in the final result is the expected outcome, not incomplete cleaning. If the actual requirement is not to retain the positioning text, you need to adjust the settings according to the "Include this text" option and verify the result with samples first.
Question 2: Will the underscore before the suffix remain?
Judging from the processing results, the underscore after END is deleted together with the status text, so the folder names finally end directly with END. The reason is that the underscore is located to the right of END and belongs to the deletion range this time.
Question 3: Some folders do not contain END. Can they be processed together?
It is not recommended to mix them without verification. Names lacking the positioning text do not conform to the current rule, and the actual results may differ from expectations. To keep the task clear, you should preferably filter out directories containing END first, and create separate tasks for other naming structures.
Question 4: What if END appears twice in one name?
The screenshots do not show which match is used when the same name contains END multiple times, so this should not be judged without evidence. When encountering such names, it is recommended to create a copy first and test it separately. After confirming the positioning result used by the software, decide whether to include it in the batch task. You may also consider replacing it with a more distinctive complete boundary text that appears only once.
Question 5: Will differences in English case affect the result?
To ensure accuracy, END, End, and end should be treated as potentially different texts. Before importing, check whether the naming is consistent; if there are multiple spellings, you can create tasks by group and enter the corresponding text separately. Do not ignore boundary consistency just to save one operation.
Question 6: Why is backup recommended before batch renaming?
Folder names are usually part of the path. After renaming, existing shortcuts, scripts, software project references, or shared links may become invalid. Backing up important office materials and testing with copies first can reduce the impact caused by incorrect rule settings or path changes.
Question 7: Can the file names inside the folders also be modified at the same time?
The workflow in this article targets "folder names". The screenshots do not show a function for synchronously renaming internal files, so it cannot be inferred from this that Word, Excel, PowerPoint, PDF, or image files inside the folders will also be modified. If you need to process file names such as doc, docx, xls, xlsx, ppt, pptx, and pdf, you should enter the file-name-related functions in the software and set them separately according to the corresponding interface.
Practical suggestions for improving batch processing accuracy
First, before execution, create a simple "original name—target name" comparison. For example, write down that "Invoice_START_batch001_END_Paid" should become "Invoice_START_batch001_END". With a clear target, you can quickly determine whether the options and switches are correct.
Second, preferably choose positioning text with uniqueness. If END appears only once in every name, it is a relatively stable boundary; if the positioning term also frequently appears in the subject part, consider using a more complete character combination, or split the abnormal directories out for separate processing.
Finally, process high-risk directories in batches. You can first add a small number of test folders, check the results, and then add the remaining directories. The value of batch processing does not necessarily mean processing everything at once; reasonable batch division can actually balance efficiency and safety.
Summary
To clean mixed suffixes from folder names, you do not need to search separately for every type of status text such as Final, Release, Archive, and Approved. As long as these contents are all located to the right of the fixed marker END, you can use HeSoft Doc Batch Tool , enter "Delete text in folder names", select "All content to the right of a certain text", enter END, and turn off "Include this text".
After completing the settings, the software will apply the same rule to the imported folders, retaining END and the subject to its left while uniformly deleting the right-side suffixes. Compared with manual renaming one by one, this method is more suitable for organizing a large number of office directories. It can reduce repeated clicking, avoid entering the wrong number of characters, and keep naming results consistent. It is recommended to first copy two or three representative folders for testing, confirm that the before-and-after results meet expectations, and then add the complete directory list to the task and execute batch cleanup.
Keyword:Batch delete folder suffixes , delete content to the right of END , batch clean folder names , batch rename folders , delete names by specified text