How to split one text file into multiple text files according to text content?

HI,

In the above sample. there is logic to create yyyy MMM style folder (like 2022 Nov) then create yyyyMMdd style folder (like 20221115).
If you want to change the base folder, please replace the following Ssytem.Environment.CurrentDirectory with another folder.

image

Regards,