Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I unsuccessfully used the "pages" feature in Windows Explorer, as well as in Directory Opus 10 and Free Commander XT (which I installed just for that reason, to try it out) to display the page count of multiple PDFs in a folder.

All my PDF's are free to edit, i.e. not write-protected. I don't understand why any PDF reader can display the (correct) page number, but none of the file explorers can? (In the "details" view of course.)

The only documents whose page count is displayed are MS Word documents.

As you know for such information a Shell Extension Handler for PDF should be installed, but is there any?

On a side-note: Did that change in Windows 8?

Initial research: Google search was unsuccessful, the only slightly related SE topic I found was "How to count pages in multiple PDF files?".

Windows 7 Home Professional 64b

share|improve this question
    
Karan, sorry but you didn't read my question properly. Do you know how "file explorers" work? I did NOT ask about PDF readers, rather I wrote "any PDF reader can display the (correct) page number, but none of the file explorers can". I want to see the page count of MULTIPLE PDF files (that are unopened) under Windows - and then sort after the page volume - that is it. –  grunwald2.0 Oct 27 '12 at 11:09
    
Well, I can only say that I have installed: Adobe Reader XI, Adobe Acrobat 9, Bluebeam Revu 10, Foxit 5.4.3, PDF Creator, PrimoPDF and Copernic Desktop Search Professional. (CDS also doesn't display the page count.) I think that answers your question. If the iFilters should be used by any of those programs, they sure should be installed. Lastly, you don't know if "iFilter" will expose the page count, but I can tell you that I checked the page count property with the config given above, that is the sole reason that I ask this question on SE. –  grunwald2.0 Oct 28 '12 at 4:02
    
Chrome crashed and my answer is gone...I already had one app that did the job indirectly (reference management software that I had those PDF's put into) as well as "Rapid PDFCount". I am frank, I don't understand "iFilters", to me it seems they are deprecated or only of use for Microsoft Sharepoint (Server) products. (msdn.microsoft.com/en-us/library/ms691105(v=vs.85).aspx ; foxitsoftware.com/products/ifilter/feature.php) –  grunwald2.0 Oct 28 '12 at 6:01
    
I read both, but I don't understand, sorry. IMHO it is not my job to figure out nerds (I mean the guys who built iFilter and the website) and technicalities. If you think iFilters are the solution, which file should I download? The plugin from Foxit costs $20, so Microsoft has an issue in their OS and now I should pay 50% of what an Windows 8 update costs to fix that? Again, I solved the problem already, but I at least want to understand what you try to sell me. –  grunwald2.0 Oct 29 '12 at 3:05
1  
I am not trying to sell you anything. If you had read my comments carefully, I had said that while an iFilter most likely will fix this (only way I know of to expose the PDF content/properties to Windows Explorer/Indexer), I do not know which iFilter will fix it, or even whether any iFilters available can fix it. Presumably if you buy a license to a commercial iFilter, you can ask the developers to add the feature if it's missing. Beyond this I have no idea. –  Karan Oct 29 '12 at 3:17

3 Answers 3

I know you're asking about viewing pdf page count in windows explorer, but if what you're looking for is a list of pdfs with the page number of each, Acrobat Pro does that. 1. Under the File menu select "Organizer." 2. Go to the folder with the pdfs you're interested in. 3. In the "Sort by" field, select "Number of Pages." That will display the number of pages for each pdf file. Not exactly what you want. But should do the trick.

share|improve this answer
    
Wow, sounds good! Unfortunately I can't find anything like this under "File" or in any other menu, in Acrobat XI. Could you help me out with a few screenshots? –  grunwald2.0 Nov 6 '12 at 9:32
1  
Sorry to be the bearer of bad news but Acrobat says "The Organizer and Organizer-related commands are not available in Acrobat X and later." Darn. –  burrowsrjl Nov 7 '12 at 20:25
    
And though this I'm sure isn't what you want, in Acrobat X (what I also have access to) if you use "Share Files Using SendNow Online," or "Attach to Email" under the file menu, it gives you a thumbnail preview of a selected pdf file with the page count. But you have to select the files one at a time (as far as I can tell). But if you don't have a huge number you want to have a quick look at, maybe this is a solution. –  burrowsrjl Nov 7 '12 at 20:52

You can sort, filter pdf files based on title, pages etc using this shell extenion Debenu

Additionally, this portable application extracts all data from pdf files and produces a tabluar output which you can use in your workflow pdfinfogui

share|improve this answer

Everyone wants to use a tool, get the page count and then export it to Excel. Why not use Excel to do the page counting and then put it in a sheet?

Look at http://www.mrexcel.com/forum/excel-questions/347911-visual-basic-applications-page-count.html

This is the code and it works fantastic:

Sub Test()
    Dim MyPath As String, MyFile As String
    Dim i As Long
    MyPath = "C:\TestFolder"
    MyFile = Dir(MyPath & Application.PathSeparator & "*.pdf", vbDirectory)
    Range("A:B").ClearContents
    Range("A1") = "File Name": Range("B1") = "Pages"
    Range("A1:B1").Font.Bold = True
    i = 1
    Do While MyFile <> ""
        i = i + 1
        Cells(i, 1) = MyFile
        Cells(i, 2) = GetPageNum(MyPath & Application.PathSeparator & MyFile)
        MyFile = Dir
    Loop
    Columns("A:B").AutoFit
    MsgBox "Total of " & i - 1 & " PDF files have been found" & vbCrLf _
           & " File names and corresponding count of pages have been written on " _
           & ActiveSheet.Name, vbInformation, "Report..."
End Sub
'
Function GetPageNum(PDF_File As String)
    'Haluk 19/10/2008
    Dim FileNum As Long
    Dim strRetVal As String
    Dim RegExp
    Set RegExp = CreateObject("VBscript.RegExp")
    RegExp.Global = True
    RegExp.Pattern = "/Type\s*/Page[^s]"
    FileNum = FreeFile
    Open PDF_File For Binary As #FileNum
        strRetVal = Space(LOF(FileNum))
        Get #FileNum, , strRetVal
    Close #FileNum
    GetPageNum = RegExp.Execute(strRetVal).Count
End Function
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.