Windows 8 and 8.1 Forums


How to search by Attribute in Explorer?

  1. #1


    Quebec
    Posts : 14
    Windows 8 Pro with Media Center

    How to search by Attribute in Explorer?


    Greetings forums' readers & helpers, ٩̢ ̗(Ӧ̮Ӧ)̢ ̗۶

    The search feature in the Explorer of Windows 8 is not as strait forward, simple and reliable as the previous versions (even if the search in the sub-folders is selected, it doesn't always find something that are in them.)

    So, I need a way to list in the Explorer all the files whose Attributes are set toA’.

    This is to find in one command which files (and in which sub-directory) I did not backup yet, instead of looking for them in every folder after changing the view to ‘Details’. You see, my backup process is in three steps:

    ① Once the chosen folder in the Explorer is in the ‘Details’ view, I click on the ‘Attribute’ tab, which brings all the ‘A’ on top.

    ② I select and drag them to an external drive.

    ③ Then, I change the attribute property of those selected files, i.e., from ‘A’ to ‘N’.

     ٩̢ ̗(̾̈́͡◑̾̈́̈́͜ ̾̈́̈́͡◑̾̈́)̢ ̗۶It would be much quicker to select-drag them directly from the results and then, to change their attributes without having to go to their respective folders.

    Regards and thanks, ¿̒ ̡͡ ʅ


    P.S.: I made a Tutorial in the Windows 7 Forums :


    I literally coach you to build your own menu. The editing in the registry was approved by Brink

      My System SpecsSystem Spec

  2. #2


    Posts : 2,130
    Windows 8.0 x64


    Either command line or a file manager that can collect files by the archive attribute would be easier as that's what it was there for. There are many free file managers. Or you could do RoboCopy or RichCopy to recursively gather all files with archive bit set throughout a folder tree.
      My System SpecsSystem Spec

  3. #3


    Quebec
    Posts : 14
    Windows 8 Pro with Media Center


    Thanks for your suggestion, ٩̢ ̗(Ӧ̮Ӧ)̢ ̗۶

    I made a search on RoboCopy and RichCopy and came across this valuable article that compares many utilities:


     ٩̢ ̗(̾̈́͡◑̾̈́̈́͜ ̾̈́̈́͡◑̾̈́)̢ ̗۶̑
    i recommend everyone to read it before using any Copy utility, even if it is not in the list, because you will find what to look for to evaluate the pros and cons of yours.

    Regards and thanks, ¿̒ ̡͡ ʅ
      My System SpecsSystem Spec

  4. #4


    Posts : 2,130
    Windows 8.0 x64


    You are welcome. Looks like an interesting article.
      My System SpecsSystem Spec

  5. #5


    Quebec
    Posts : 14
    Windows 8 Pro with Media Center


     ̢ ̗(̾̈́͡◔̾̈́̈́͜ ̾̈́̈́͡◔̾̈́)̢ ̗Based on that article, I have chosen to try the “emcopy.exe” from EMC² , but I could not find the last version anywhere, even at the site of the company who created it. Therefore, I made my own DOS program.
    ́
    I made it launched by a ‘right-click’ on any folder, then, on the link I added on the context-menu of the Explorer. It lists only the files having the ‘A’ attribute in that folder and its sub-folders. The results are recorded in a text file, then, it opens it in my TextPad text editor in which I made some macros to reorganize the results as I please.

    Here is the process, i.e., the DOS program and the instructions in the registry for the context-menu:

    _Archives.bat
    Code:
    @ECHO OFF
    DIR %1 /A:a /B /O:gne /S > %1\__Archives.txt
    CALL "C:\Program Files (x86)\TextPad 6\TextPad.exe" %1\__Archives.txt
    EXIT
    In the registry:

    What I wanted to see in the context-menu is an Icon and the text ̒ ̒ Liste_pour_Archiver>__Archives.txt ̓ ̓ which means "List to Archive". So, I made two new keys: “Liste_pour_Archiver” and its sub-key “command

    Code:
    [HKEY_CLASSES_ROOT\Folder\shell\Liste_pour_Archiver]
    @=Liste_pour_Archiver>__Archives.txt
    Icon= REG_EXPAND_SZ %SystemRoot%\System32\ieframe.dll,96
    
    [HKEY_CLASSES_ROOT\Folder\shell\Liste_pour_Archiver\command]
    @=D:\_Archives.bat "%1"
    Note: “@” is the (default) in a .reg file.

    Then, I verified if it was automaticaly copied in:
    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\]
    I used the application “IconView.exe” (which does not need to be installed) to find the proper Icon.

    Now, I just have to browse in the Explorer and drag those files to their respective USB keys/folders, even directly in their ZIP files. I was surprised how many folders I forgot to check out the attributes ‼

    Regards, ¿̒ ̡͡ ʅ
    Last edited by DanSitar; 04 Feb 2014 at 15:45. Reason: See my next comment…
      My System SpecsSystem Spec

How to search by Attribute in Explorer?
Related Threads
I have five hard drives. A total of 7Tb of data! Windows Explorer is often too slow searching for a file name from the search box. I've read that windows indexing isn't very good. Is there a way to improve it or better yet, an alternative please?
Hi all, i just read some tutorials on the search function: Windows Search - Configure and Use - Windows 7 Help Forums https://www.eightforums.com/tutorials/21310-search-find-more-filters-operators.html because, even if i extensively used it and quite master it i thought i am missing...
i was scouring the web for solutions but found no exact remedy (closest being this page: https://www.eightforums.com/general-support/29192-searching-windows-explorer-kind-sucks.html) I have 100+ subfolders within 1 folder, and in each subfolder contains a video (in various containers, such as wmv...
I have a very strange issue which makes using Windows Search more difficult. File Explorer opened to Computer or Libraries > No search. I can type whatever I want to search field, search simply does not start. From the net I found this issue being quite common when you have mapped network...
Win 8 Explorer Search Bug in General Support
The "Content" setting returns the path in the first column, the only problem is that it truncates it because there isn't enough room in the column. I cannot find a setting to remove any columns or change their sizes; is there any way to modify them? thanks.... I have Win 7 that I installed prior...
How to Add a New Search Provider in Internet Explorer 10 in Windows 8 Different search providers may show up depending on what country you're in - what language you're using. You might try to temporarily change the results by changing the country at the top right on the iegallery add-ons...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook