File explorer icon size

Page 2 of 2 FirstFirst 12

  1. Posts : 989
    Microsoft Windows 10 Home
       #11

    Sweetsweetcorn said:
    Someone please edit his code so that when I use it, everything shows up in list view?
    List View

    Code:
    ###***-- Run from an Admin PowerShell console --***###
    
    
    $RegFile = "$Env:Temp\AllFolders-SameColumns.reg"
    $Content = @"
    Windows Registry Editor Version 5.00`n
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\Bags]`n
    "@ # Content
    
    
    $Prepend = '[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\'
    $Append  = @"
    ]
    "Mode"=dword:00000003
    "LogicalViewMode"=dword:00000004
    "IconSize"=dword:00000010`n`n
    "@ # $Append
    
    
    $FT      = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    $Include = 'Documents|Downloads|Generic|Home|Music|Pictures|Searches|UserFiles|UsersLibraries|Videos'
    
    
    gci $FT | Get-ItemProperty | 
       ? CanonicalName -match $Include | Select -expand PSChildName |
    ForEach{
       $Content += "$Prepend$_$Append"
    }
    $Content | Set-Content $RegFile
    Reg import $RegFile
    gps explorer | spps
      My Computer


  2. Posts : 151
    Windows 10 Home, 64-Bit
    Thread Starter
       #12

    KeithM said:
    List View

    Code:
    ###***-- Run from an Admin PowerShell console --***###
    
    
    $RegFile = "$Env:Temp\AllFolders-SameColumns.reg"
    $Content = @"
    Windows Registry Editor Version 5.00`n
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\Bags]`n
    "@ # Content
    
    
    $Prepend = '[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\'
    $Append  = @"
    ]
    "Mode"=dword:00000003
    "LogicalViewMode"=dword:00000004
    "IconSize"=dword:00000010`n`n
    "@ # $Append
    
    
    $FT      = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    $Include = 'Documents|Downloads|Generic|Home|Music|Pictures|Searches|UserFiles|UsersLibraries|Videos'
    
    
    gci $FT | Get-ItemProperty | 
       ? CanonicalName -match $Include | Select -expand PSChildName |
    ForEach{
       $Content += "$Prepend$_$Append"
    }
    $Content | Set-Content $RegFile
    Reg import $RegFile
    gps explorer | spps
    Cheers buddie, I'll try it out .

    - - - Updated - - -

    KeithM said:
    List View

    Code:
    ###***-- Run from an Admin PowerShell console --***###
    
    
    $RegFile = "$Env:Temp\AllFolders-SameColumns.reg"
    $Content = @"
    Windows Registry Editor Version 5.00`n
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\Bags]`n
    "@ # Content
    
    
    $Prepend = '[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\'
    $Append  = @"
    ]
    "Mode"=dword:00000003
    "LogicalViewMode"=dword:00000004
    "IconSize"=dword:00000010`n`n
    "@ # $Append
    
    
    $FT      = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    $Include = 'Documents|Downloads|Generic|Home|Music|Pictures|Searches|UserFiles|UsersLibraries|Videos'
    
    
    gci $FT | Get-ItemProperty | 
       ? CanonicalName -match $Include | Select -expand PSChildName |
    ForEach{
       $Content += "$Prepend$_$Append"
    }
    $Content | Set-Content $RegFile
    Reg import $RegFile
    gps explorer | spps
    can it be made to automatically sort everything by type?
      My Computer


  3. Posts : 989
    Microsoft Windows 10 Home
       #13

    I saw this response & got your PM --- patience!!!

    Sorting is a little more nuanced than icon mode. If you right-click in the background of Quick Access, you'll note that Sort by & Group by are unavailable. Its FolderType specifies a sort used nowhere else: System.Home.SortOrder

    Code:
    PS C:\>>$FT = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    PS C:\> gci $FT | gp | ? CanonicalName -eq HomeFolder | gci -Recurse | ? Property -contains SortByList
    
        Hive:
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{24ccb8
        a6-c45a-477d-b940-3382b9225668}\TopViews
    
    
    Name                           Property
    ----                           --------
    {00000000-0000-0000-0000-00000 ColumnList      : prop:0(34)System.ItemNameDisplay;0System.DateModif
    0000000}                       ied;0System.ItemTypeText;0Syste
                                                     m.Size;1System.DateCreated;1System.Author;1System.
                                   Keywords;1System.Title;1System.
                                                     Home.SortOrder;1System.StorageProviderUIStatus
                                   GroupBy         : System.Home.Grouping
                                   LogicalViewMode : 2
                                   Name            : NoName
                                   Order           : 0
                                   PrimaryProperty : System.Home.Grouping
                                   SortByList      : prop:System.Home.SortOrder;System.ItemNameDisplay

    And SearchResults folders default to:
    Code:
    PS C:\> gci 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{36011842-dccc-40fe-aa3d-6177ea401788}\TopViews' | ? PSChildName -eq '{424c81ab-7a7b-4fc1-a848-ddbadc10cdf5}'
    
        Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{360118
        42-dccc-40fe-aa3d-6177ea401788}\TopViews
    
    
    Name                           Property
    ----                           --------
    {424c81ab-7a7b-4fc1-a848-ddbad ColumnList      : prop:0System.ItemNameDisplay;0System.DateModified;
    c10cdf5}                       0System.ItemTypeText;0System.Si
                                                     ze;0System.ItemFolderPathDisplay;1System.Search.Ra
                                   nk;1System.DateCreated;1System.
    
                                   Author;1System.Category;1System.Keywords;1System.Title
                                   LogicalViewMode : 5
                                   Name            : @shell32.dll,-34822
                                   Order           : 0
                                   PrimarySettings : 1
                                   QueryType       : 1
                                   SortByList      :
                                   prop:-System.Search.Rank;-System.DateModified;System.ItemNameDisplay

    And you can see all the various defaults by running this code. Libraries & SearchResults FolderTypes have multiple entries because they have multiple TopViews (Arrrange by in background context menu).

    Code:
    $FT = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    gci $FT -Recurse | ? Property -contains 'LogicalVIewMode' | gp | select @{
         N = 'FT'
         E = { ( gp ( Split-Path $_.PSParentPath )).CanonicalName }
    }, SortByList | out-gridview
    So I want to give this some thought & do some testing be fore making any recommendations.
      My Computer


  4. Posts : 151
    Windows 10 Home, 64-Bit
    Thread Starter
       #14

    KeithM said:
    I saw this response & got your PM --- patience!!!

    Sorting is a little more nuanced than icon mode. If you right-click in the background of Quick Access, you'll note that Sort by & Group by are unavailable. Its FolderType specifies a sort used nowhere else: System.Home.SortOrder

    Code:
    PS C:\>>$FT = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    PS C:\> gci $FT | gp | ? CanonicalName -eq HomeFolder | gci -Recurse | ? Property -contains SortByList
    
        Hive:
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{24ccb8
        a6-c45a-477d-b940-3382b9225668}\TopViews
    
    
    Name                           Property
    ----                           --------
    {00000000-0000-0000-0000-00000 ColumnList      : prop:0(34)System.ItemNameDisplay;0System.DateModif
    0000000}                       ied;0System.ItemTypeText;0Syste
                                                     m.Size;1System.DateCreated;1System.Author;1System.
                                   Keywords;1System.Title;1System.
                                                     Home.SortOrder;1System.StorageProviderUIStatus
                                   GroupBy         : System.Home.Grouping
                                   LogicalViewMode : 2
                                   Name            : NoName
                                   Order           : 0
                                   PrimaryProperty : System.Home.Grouping
                                   SortByList      : prop:System.Home.SortOrder;System.ItemNameDisplay

    And SearchResults folders default to:
    Code:
    PS C:\> gci 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{36011842-dccc-40fe-aa3d-6177ea401788}\TopViews' | ? PSChildName -eq '{424c81ab-7a7b-4fc1-a848-ddbadc10cdf5}'
    
        Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{360118
        42-dccc-40fe-aa3d-6177ea401788}\TopViews
    
    
    Name                           Property
    ----                           --------
    {424c81ab-7a7b-4fc1-a848-ddbad ColumnList      : prop:0System.ItemNameDisplay;0System.DateModified;
    c10cdf5}                       0System.ItemTypeText;0System.Si
                                                     ze;0System.ItemFolderPathDisplay;1System.Search.Ra
                                   nk;1System.DateCreated;1System.
    
                                   Author;1System.Category;1System.Keywords;1System.Title
                                   LogicalViewMode : 5
                                   Name            : @shell32.dll,-34822
                                   Order           : 0
                                   PrimarySettings : 1
                                   QueryType       : 1
                                   SortByList      :
                                   prop:-System.Search.Rank;-System.DateModified;System.ItemNameDisplay

    And you can see all the various defaults by running this code. Libraries & SearchResults FolderTypes have multiple entries because they have multiple TopViews (Arrrange by in background context menu).

    Code:
    $FT = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    gci $FT -Recurse | ? Property -contains 'LogicalVIewMode' | gp | select @{
         N = 'FT'
         E = { ( gp ( Split-Path $_.PSParentPath )).CanonicalName }
    }, SortByList | out-gridview
    So I want to give this some thought & do some testing be fore making any recommendations.
    Okay. Thank you.

    Sorry, I did not know if "- - - Updated - - -" posts create notifications or not.
      My Computer


  5. Posts : 989
    Microsoft Windows 10 Home
       #15

    Cursory testing doesn't show ill effects from imposing sort by Type on all the various folder types, so here it is:


    Code:
    ###***-- Run from an Admin PowerShell console --***###
    
    
    $RegFile = "$Env:Temp\AllFolders-SameColumns.reg"
    $Content = @"
    Windows Registry Editor Version 5.00`n
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\Bags]`n
    "@ # Content
    
    
    $Prepend = '[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\'
    $Append  = @"
    ]
    "Mode"=dword:00000003
    "LogicalViewMode"=dword:00000004
    "IconSize"=dword:00000010
    "Sort"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,01,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00`n`n
    "@ # $Append
    
    
    $FT      = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    $Include = 'Documents|Downloads|Generic|Home|Music|Pictures|Searches|UserFiles|UsersLibraries|Videos'
    
    
    gci $FT | Get-ItemProperty | 
       ? CanonicalName -match $Include | Select -expand PSChildName |
    ForEach{
       $Content += "$Prepend$_$Append"
    }
    $Content | Set-Content $RegFile
    Reg import $RegFile
    gps explorer | spps
      My Computer


  6. Posts : 151
    Windows 10 Home, 64-Bit
    Thread Starter
       #16

    KeithM said:
    Cursory testing doesn't show ill effects from imposing sort by Type on all the various folder types, so here it is:


    Code:
    ###***-- Run from an Admin PowerShell console --***###
    
    
    $RegFile = "$Env:Temp\AllFolders-SameColumns.reg"
    $Content = @"
    Windows Registry Editor Version 5.00`n
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]`n
    [-HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\Bags]`n
    "@ # Content
    
    
    $Prepend = '[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\'
    $Append  = @"
    ]
    "Mode"=dword:00000003
    "LogicalViewMode"=dword:00000004
    "IconSize"=dword:00000010
    "Sort"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,01,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00`n`n
    "@ # $Append
    
    
    $FT      = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
    $Include = 'Documents|Downloads|Generic|Home|Music|Pictures|Searches|UserFiles|UsersLibraries|Videos'
    
    
    gci $FT | Get-ItemProperty | 
       ? CanonicalName -match $Include | Select -expand PSChildName |
    ForEach{
       $Content += "$Prepend$_$Append"
    }
    $Content | Set-Content $RegFile
    Reg import $RegFile
    gps explorer | spps
    Cheers!
      My Computer


  7. Posts : 2
    Windows 7 64 Bit
       #17

    Edwin said:
    Yes, choose view, open view options/view/Apply to Folders/'Do you want all folders to match...'/click yes.

    Do this for all folders types and their sub-folders.

    Attachment 285364
    Hello, I registered on this forum to ask you, where you have found your beautiful color scheme? Is this a Windows Blinds theme?
    Sorry that I am off topic, I tried to write a pm to you, bat had no permission for that.
      My Computer


  8. Posts : 17,838
    Windows 10
       #18

    spaceowl said:
    ...Is this a Windows Blinds theme?
    Yes.
      My Computer


  9. Posts : 2
    Windows 7 64 Bit
       #19

    Edwin said:
    Yes.
    Could yo tell me please the name of the WB skin?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:42.
Find Us




Windows 10 Forums