Re: Windows Explorer size reverting to 800x600



Are the folders stored on fixed, network or removable drives?

Are Explorer options set to remember each folder's view settings?

Possibly the index for saved views is full, and some entries are being deleted to make room for new
ones. If you run the following script & post back the results, we can see if that's the problem or
rule it out. Copy & paste the text between the dashed lines into notepad & save as a .vbs file.
Then double-click the file to run it.

----------------------------
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")

s1 = "winmgmts:{impersonationLevel=impersonate}"
s2 = "!\\.\root\default:StdRegProv"
Set oRegistry = GetObject(s1 & s2)

On Error Resume Next
iLimit = oWshShell.RegRead(conBagMRUSize)
If Err.Number <> 0 Then iLimit = 400
On Error Goto 0

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]


"Tiny Mole" <TinyMole@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:587BD544-A126-4EBF-88DD-8A00490112C9@xxxxxxxxxxxxxxxx
Hi,

I have a number of shortcuts to regularly used folders. Each opens windows
explorer using command line switches, for example: explorer.exe /e,/root,d:\
would open explorer with folders view ON, and the root of drive D: shown as
the root folder.

Problem with most of these shortcuts is that when I drag the window border
to the size I want, it will not always retain that setting between sessions.
Only one of these shortcuts will ALWAYS retain the size setting.
The others will always revert to exactly 800x600 pixels at some time after
the current session.

This is really driving me crazy. They all worked fine in Win 2000, on a new
machine with XP they don't.

Help!

Regards,

Mole

.



Relevant Pages

  • Re: Folder Status
    ... Microsoft MVP [Windows XP Shell/User] ... folders I am talking about are all in 'My Documents'. ... Const conBagMRUSize = & _ ...
    (microsoft.public.windowsxp.customize)
  • Re: Folder Status
    ... looks like another Widows Script Host Error... ... Microsoft MVP [Windows XP Shell/User] ... Const conBagMRUSize = & _ ... Unfortunately I have another problem with the folders in windows which I ...
    (microsoft.public.windowsxp.customize)
  • Re: Windows Explorer size reverting to 800x600
    ... Microsoft MVP [Windows XP Shell/User] ... All of the folders are on a local drive. ... Are Explorer options set to remember each folder's view settings? ... Const conBagMRUSize = _ ...
    (microsoft.public.windowsxp.general)
  • Re: Folder Status
    ... Microsoft MVP [Windows XP Shell/User] ... folders I am talking about are all in 'My Documents'. ... Const conBagMRUSize = & _ ...
    (microsoft.public.windowsxp.customize)
  • Re: Folder Status
    ... 'Windows Script Host' dialogue box appeared with the following message: ... Are the folders that lose their settings on the desktop? ... Const conBagMRUSize = & _ ... Microsoft MVP [Windows XP Shell/User] ...
    (microsoft.public.windowsxp.customize)