Hi,
I have PDF files in this directory "C:\Users\AAB\Desktop\INN"
the directory contains many folders and subfolders like this
"C:\Users\AAB\Desktop\INN\REPORTS\NO PP1000.PDF"
"C:\Users\AAB\Desktop\INN\MAIN\NO SS122222.PDF"
"C:\Users\AAB\Desktop\INN\REPORTS\OPERATION\LAST\FINAL\NO PP7000.PDF"
"C:\Users\AAB\Desktop\INN\MAIN\FIRST\NO SS444444.PDF"
what I want first originate the files by add new folders and move PDF files to new folders based on modified date for each new folder .
Example for modified date will be 7(JULY):
"C:\Users\AAB\Desktop\INN\REPORTS\NO PP1000.PDF"
"C:\Users\AAB\Desktop\INN\REPORTS\OPERATION\LAST\FINAL\NO PP7000.PDF"
should add folders names based on after NO item for PDF files and month number based modified date and ignore numbers after letters . like this (see bold folders names)
from
"C:\Users\AAB\Desktop\INN\REPORTS\NO PP1000.PDF"
to
"C:\Users\AAB\Desktop\INN\REPORTS\PP7\NO PP1000.PDF"
the folder should be
PP1000=PP7
anothr example
"C:\Users\AAB\Desktop\INN\REPORTS\OPERATION\LAST\FINAL\NO PP7000.PDF"
to
"C:\Users\AAB\Desktop\INN\REPORTS\PP7\NO PP7000.PDF"
the folder should be
PP7000=PP7
and should delete old folders from original directory (OPERATION\LAST\FINAL as example )
any PDF files contains the same letter regardless different numbers what contains in files names , should move to the same folder matches for letters are after NO item for PDF files based modified date. modified date will be from 1 to 12 months.
thanks
Bookmarks