Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Apr 2015
    Posts
    23
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Search folder,sub folder and file type

    Hi,

    I want to search .pdf's from root folder,sub folder in particular folder.

    root folder==>Backup
    Folder-A---sub-folder1, sub-folder2, sub-folder3==>IME, sub-folder4, sub-folder5, sub-folder6 (location of IME folder inside sub-folder3)
    Folder-B---sub-folder1, sub-folder2==>IME, sub-folder4, sub-folder5, sub-folder6 (location of IME folder inside sub-folder2)
    Folder-C---sub-folder1, sub-folder2, sub-folder3, sub-folder10==>IME (location of IME folder inside sub-folder10)
    Folder-D---sub-folder1==>IME, sub-folder2, sub-folder3, sub-folder4, (location of IME folder inside sub-folder1)

    Search folder Backup and then group all IME folders and in them search all .pdf's.

    Any ways of extracting the pdf's only from IME folder.

  2. #2
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,164
    Thanks
    47
    Thanked 977 Times in 907 Posts
    I'm thinking you would code something in PowerShell or Batch to list files in sub-directories and if the dir name contains IME then move / copy the PDF.
    Where do you want to move copy the PDFs?
    What is your coding experience in PowerShell / Batch?

    cheers, Paul

  3. #3
    New Lounger
    Join Date
    Apr 2015
    Posts
    23
    Thanks
    11
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Paul T View Post
    Where do you want to move copy the PDFs?
    Copy to C:\monthpdf

    What is your coding experience in PowerShell / Batch?
    Nothing.
    cheers, Paul
    Any help with be appreciated.

  4. #4
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,164
    Thanks
    47
    Thanked 977 Times in 907 Posts
    We'd like to help but you need to provide more information.

    cheers, Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •