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 orginizate the files by add new folders and move files to new folders based on last modified date for each new folder .
Example for last 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 numer based last modified date . like this
from
"C:\Users\AAB\Desktop\INN\REPORTS\NO PP1000.PDF"
to
"C:\Users\AAB\Desktop\INN\REPORTS\PP7\NO PP1000.PDF"
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"
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 last modified date. last modified date will be from 1 to 12 months.
thanks
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 orginizate the files by add new folders and move files to new folders based on last modified date for each new folder .
Example for last 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 numer based last modified date . like this
from
"C:\Users\AAB\Desktop\INN\REPORTS\NO PP1000.PDF"
to
"C:\Users\AAB\Desktop\INN\REPORTS\PP7\NO PP1000.PDF"
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"
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 last modified date. last modified date will be from 1 to 12 months.
thanks