关于为EmEditor添加文件夹文件拆分与合并功能的请求
I totally get where you're coming from—EmEditor's single-file split and merge tools are really robust, but the lack of batch processing support for multiple files is a big gap when you're dealing with lots of documents at once. It makes total sense that you'd want this feature added, especially since you're ready to commit to a lifetime license over it.
A Temporary Workaround: Use EmEditor Macros
While we wait for official batch support, you can leverage EmEditor's built-in macro functionality to automate the process. Here's a quick JScript macro example to batch split files in a target folder:
// Batch split all text files in a specified folder var fso = new ActiveXObject("Scripting.FileSystemObject"); var targetFolder = "C:\\Your\\Target\\Folder"; // Replace with your actual folder path var folder = fso.GetFolder(targetFolder); var files = new Enumerator(folder.Files); for (; !files.atEnd(); files.moveNext()) { var file = files.item(); // Skip non-text files to avoid unnecessary processing if (file.Type.indexOf("Text Document") === -1) continue; // Open the target file var doc = editor.Open(file.Path); if (!doc) continue; // Execute the split command (you can record a split action to get exact settings) editor.ExecuteCommandByID(4242); // Command ID for "Split File" // Save and close the original file doc.Close(eeSaveYes); }
To use this macro:
- Open EmEditor, navigate to Tools > Macros > Edit
- Paste the code, adjust the
targetFolderpath and split logic to match your needs - Save the macro (e.g.,
BatchSplit.jsee) - Run it via Tools > Macros > Run
You can tweak this script for batch merging too—just adjust the logic to select your target files and trigger the merge command instead.
How to Push for Official Support
EmEditor's developer is known for prioritizing user feedback. To make your request stand out:
- Use the Help > Send Feedback option directly in the app to submit your feature request
- Explicitly mention your willingness to purchase a lifetime license once batch split/merge support is added—this kind of commitment helps the team prioritize the feature
- You can also post on the official EmEditor forums to gather support from other users who need this functionality
Fingers crossed this gets added in a future update!
内容的提问来源于stack exchange,提问作者Jon Shaw

