Re: Folder Status
- From: "Keith Miller MVP" <k.miller79@xxxxxxxxxxx>
- Date: Sat, 25 Feb 2006 12:19:19 -0600
Sounds like the index for saved views may be getting full & deleting some entries to make room for
others. Are the folders that lose their settings on the desktop?
To get a better idea of what's going on, please copy the text between the lines below into notepad
and save as a .vbs file. Then double-click the file to run it. It is a small script which will
report on several reg entries relating to saved views. Please post back with the info obtained.
--------------------------------
Const conBagMRUSize = & _
"HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU Size"
Const conBagMRUNodeSlots = & _
"HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU\NodeSlots"
Const HKCU = &H80000001
Const conBagsPath = "Software\Microsoft\Windows\ShellNoRoam\Bags"
dim oWshShell, oRegistry, iLimit, iMRUEntries, arrSubKeys, iBagCount
'Assign objects
Set oWshShell = CreateObject("WScript.Shell")
Set oRegistry = & _
GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
iLimit = oWshShell.RegRead(conBagMRUSize)
iMRUEntries = UBound(oWshShell.RegRead(conBagMRUNodeSlots)) + 1
oRegistry.EnumKey HKCU, conBagsPath, arrSubKeys
iBagCount = UBound(arrSubKeys) + 1
sMsg = "Max Views = " & iLimit & vbcrlf & _
"Index Entry Count = " & iMRUEntries & vbcrlf & _
"Saved View Count = " & iBagCount
Msgbox sMsg
--------------------------------------------
--
Good Luck,
Keith
Microsoft MVP [Windows XP Shell/User]
"Karim434" <Karim434@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3B8A157D-35E1-4A00-8387-C14A2D84B3E0@xxxxxxxxxxxxxxxx
I have left a thread on here before about getting rid of pictures which IConst conBagMRUSize = & _
assigned to one folder that were subsequently being assigned to nearly all
the others at random. I was informed how to stop this by deleting Thumb.db
via Command Prompt and that worked fine.
Unfortunately I have another problem with the folders in windows which I
suspect is associated with the original issue. The status of my folders seem
to change without my direct intervention... they will become or cease to be
document, video, picture or music folders without my altering their
particular folder properties. This is particularly annoying because the only
way I can restore normality is to regularly reset the general folder view and
return the few that I need to see in a particular way to the view I want. Can
anyone help?
"HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU Size"
Const conBagMRUNodeSlots = & _
"HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU\NodeSlots"
Const HKCU = &H80000001
Const conBagsPath = "Software\Microsoft\Windows\ShellNoRoam\Bags"
dim oWshShell, oRegistry, iLimit, iMRUEntries, arrSubKeys, iBagCount
'Assign objects
Set oWshShell = CreateObject("WScript.Shell")
Set oRegistry = & _
GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
iLimit = oWshShell.RegRead(conBagMRUSize)
iMRUEntries = UBound(oWshShell.RegRead(conBagMRUNodeSlots)) + 1
oRegistry.EnumKey HKCU, conBagsPath, arrSubKeys
iBagCount = UBound(arrSubKeys) + 1
sMsg = "Max Views = " & iLimit & vbcrlf & _
"Index Entry Count = " & iMRUEntries & vbcrlf & _
"Saved View Count = " & iBagCount
Msgbox sMsg
- Follow-Ups:
- Re: Folder Status
- From: Karim434
- Re: Folder Status
- Prev by Date: Re: Remove Picture from Background Picture List
- Next by Date: Re: Folder Status
- Previous by thread: Re: Remove Picture from Background Picture List
- Next by thread: Re: Folder Status
- Index(es):