According to the file name first to fifth, sixth to tenth or middle range of any number, letter or text batch classification a large number of files
Translation:EnglishFrançaisDeutschEspañol日本語한국어,Updated on:2025-06-07 20:23
When the name of a file has a regular structure, for example, it contains key information such as project number, product model, date range, or customer name, these intermediate fields can be extracted as the classification basis for fast and accurate filing. It is often suitable for processing large quantities of structured named files, such as product information, sales reports, experimental data and other files with fixed character names. The following describes how to classify and summarize hundreds or thousands of files according to any range of numbers, letters or characters such as the second to fourth, fourth to seventh, seventh to n characters of the file name, so as to greatly improve the work efficiency and support various file formats such as Word, Excel, PDF, JPG, etc.
1. Use Scenarios
there are a lot of files containing item numbers mixed together, and files need to be classified according to different numbers with fixed file names. We can take the range of numbers in the file names to sort all files in batches at one time.
2. Effect preview
before treatment:
after treatment:
3. Operation steps
open 【HeSoft Doc Batch Tool], select [File Arrangement]-[Classify files by file name]].

[Add File] Add multiple files that need to be sorted by any range of characters in the file name.
[Import File from Folder] Import a folder containing a large number of files that need to be sorted by any range of characters in the file name.
The imported files can be viewed below.

[Classification Method] Click to classify characters within the custom position range.
[Range] Enter the selection range according to requirements. For example, the 7th to 11th characters in the effect preview are fixed marks. The following illustration shows the help.

help]
[1] represents the first character; [2] represents the second character.
[-1] indicates the penultimate character; [-2] indicates the penultimate character.
[-5:-2] means the penultimate character to the penultimate character; [2:5] means the second character to the fifth character.
[2,4:7,-5:-2] represents the second character and the fourth character to the seventh character and the penultimate fifth character to the penultimate second character.

After waiting for the processing to complete, click the path behind the save location to view the classified files.
