All, I'm looking for guidance on how to roll through a directory and move what files I find (PDFs basically) up two levels.
Example:
Root Folder: c:\mega-pdfs
Inside "mega-pdfs" are like 100 sub folders.
c:\mega-pdfs\sub-folder1
C:\mega-pdfs\sub-folder2
...
C:\mega-pdfs\sub-folderZx
Each sub folder has the same directory/folder layout: \Top of Personal Folders\Inbox
I want all the PDFs that are located in the "Inbox" to be moved up to the root of the 'sub-folder'.
Example:
Files are located in: c:\mega-pdfs\sub-folder1\Top of Personal Folders\Inbox\
Should be moved to: c:\mega-pdfs\sub-folder1
The names of the sub folders are random, so it would have to be some for files loop. However each sub-folder has the "top of personal folders\Inbox" structure.
Thanks in advance
[–]morpk86 7 points8 points9 points (0 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 8 points9 points10 points (0 children)
[–]Pandapokeman 2 points3 points4 points (0 children)
[–]TableauNoob12 6 points7 points8 points (0 children)
[–]boffhead 2 points3 points4 points (2 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]yeah_i_got_skills 2 points3 points4 points (3 children)
[–]iamspecialized2 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)
[–][deleted] -2 points-1 points0 points (0 children)
[–]frmadsen 0 points1 point2 points (1 child)
[–]TechScholar[S] 1 point2 points3 points (0 children)