Batch classify a large number of files by the first to fifth, sixth to tenth, or any range of numbers, letters, or characters in the file name


Translation简体中文繁體中文EnglishFrançaisDeutschEspañol日本語한국어Updated on2025-04-10 17:16

SummaryWhen file names have a regular structure, such as including project numbers, product models, date ranges, or customer names as key information, these middle fields can be extracted as classification criteria for quick and accurate archiving. This is often suitable for handling large volumes of structurally named files, such as product information, sales reports, experimental data, etc., with fixed character names. Below is an introduction on how to classify and organize hundreds or thousands of files by batch according to any range of numbers, letters, or characters from the second to fourth, fourth to seventh, or seventh to the Nth character in the file name, significantly enhancing work efficiency. It supports various file formats such as Word, Excel, PDF, JPG, etc.


1、Usage Scenarios

There are many files containing project numbers mixed together, and they need to be classified according to different fixed numbers in the file names. We can use the range of numbers in the file names to batch classify and organize all the files at once.

2、Preview

Before Processing:

After Processing:

3、Operation Steps

Open 【HeSoft Doc Batch Tool】, select 【File Organization】 - 【Classify Files by File Name】.

【Add Files】Add multiple files that need to be classified and organized by any range of characters in the file name.

【Import Files from Folder】Import a folder containing a large number of files that need to be classified and organized by any range of characters in the file name.

Below, you can view the imported files.

【Classification Method】Click to classify by characters within a custom position range.

【Range】Enter the selection range according to your needs, for example, the 7th to 11th characters in the preview are fixed identifiers. The image below provides help instructions.

【Help】

【1】represents the 1st character; 【2】represents the 2nd character.

【-1】represents the last character; 【-2】represents the second to last character.

【-5:-2】represents from the 5th to last character to the 2nd to last character; 【2:5】represents from the 2nd character to the 5th character.

【2,4:7,-5:-2】represents the 2nd character and from the 4th to the 7th character and from the 5th to last to the 2nd to last character.

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


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!