Where does the system store the icons position?

后端 未结 1 884
北海茫月
北海茫月 2021-02-04 09:26

The \"icon view\" and \"folder view\" on any folder is in fact a SysListView. If you uncheck Auto-arrange of the icons you can move around the icons and next time you open the f

相关标签:
1条回答
  • 2021-02-04 10:07

    The settings for desktop icon placement in Windows XP (or Vista) are located in the the

    HKCU\Software\Microsoft\Windows\Shell\Bags\1\Desktop 
    

    registry key.

    This registry key contains a number of values, the most relevant if which are the ItemPos<screenresolution> values, the Sort value and the FFlags value.

    The sort value controls the sort order of the icons (by name, by type, by size etc.), the FFlags value controls the arrangement of the icons (align to grid, auto align etc.)

    Finally there may be any number of ItemPos values (appended with different screen resolutions eg. ItemPos800x600), which control the user defined positions of the icons for different screen resolutions.

    For more details about the content of HKCU\Software\Microsoft\Windows\Shell values:

    ShellBagsView v1.05

    ShellBagsView

    Regarding the Icon view used for any folder of one's choosing, I believe the position of icons would be stored in:

    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\[x]\Shell\{yyyyyyy-yy...}\ItemPos
    

    with 'x' representing one of your many folder specific settings.

    0 讨论(0)
提交回复
热议问题