Announcement

Collapse
No announcement yet.

Windows search syntax

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Windows search syntax

    I found some corrupted jpeg files on one on my drives and noticed that they're all missing the Dimensions property comparing to non-corrupted files. I tried searching for Dimensions:empty but this doesn't bring any results. How can I get this working?

  • #2
    Re: Windows search syntax

    Try this

    http://windows.microsoft.com/en-gb/w...ing-in-windows

    system.dimension:<>*

    I've never used it so have no idea if it will work and don't have access to a Win7 PC at the moment...
    A recent poll suggests that 6 out of 7 dwarfs are not happy

    Comment


    • #3
      Re: Windows search syntax

      I tried that and combinations but it just won't take nill for an answer.

      Comment


      • #4
        Re: Windows search syntax

        Perhaps someone else here may know of a way to sort these files. Otherwise, post on Microsoft's forums. If you find a solution please post back.
        A recent poll suggests that 6 out of 7 dwarfs are not happy

        Comment


        • #5
          Re: Windows search syntax

          Will do. Cheers

          Comment


          • #6
            Re: Windows search syntax

            Well then... surprice surprice I ended up fiddling with Pwershell to get what I want thanks to LomM who kindly pointed me to this blog http://blogs.technet.com/b/heyscript...aph-files.aspx

            I ended up using Ed's Get-Filemetadata function and then running

            $picMetadata | where {[bool]&.dimensions -ne $true} | select folder, name

            It gave me exactly what I was after out from my test folder.
            It takes ages as it checks all 266 available metadata fields

            adding
            (Get-childitem P:\Pictures -Recurse -Directory).FullName
            will run the function against all my Pictures folder including subfolders.

            Worth exporting the results to csv if you have more than 50 files as you can then run the whole thing and do something else.

            Comment


            • #7
              Re: Windows search syntax

              Nice one Thanks for posting back
              A recent poll suggests that 6 out of 7 dwarfs are not happy

              Comment

              Working...
              X