Re: Windows Explorer Madness



It sounds as if some folders are losing their view settings, this is usually caused by the index to saved views (...\ShellNoRoam\BagMRU) being full and deleting some entries to make room for new ones. Desktop items (i.e. Recycle Bin) are especially vulnerable due to the way Windows decides which view to delete.

The following is a script that will report on several parameters relating to saved views. Copy the text between the lines into notepad & save as a .vbs file, then run the script. Post back with the results.

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

Also, some clarification about opening compressed folders. The default action for normal folders toggles between 'Open' and 'Explore', depending on whether or not the folder pane is displayed. The default action for .zip files is 'Open', regardless of the folder pane. So, if Common Tasks are displayed, double-clicking a .zip file should open it in the same window. If the folder pane is displayed, you need to right-click the zip & select 'explore' to have it open in the current window.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


"Rev. Bob 'Bob' Crispen" <revbob@xxxxxxxxxxx> wrote in message news:Xns978E6338FE6C7revbob@xxxxxxxxxxxxxxxx
Windows Explorer is driving me mad!

I've got at 4 ways I invoke it:

(a) From the quick start bar, invoked by
"C:\Documents and Settings\Bob Crispen\My Documents"
That's my "My Documents" link, with folders turned off (the default).

(b) From the quick start bar, invoked by
%SystemRoot%\Explorer.exe /e,C:\Documents and Settings\All Users
That's my "My Computer" sort of link, with the folders turned on.

(c) From double-clicking the Recycle Bin.

(d) From double-clicking a compressed file.

Explorer is set up to stay in the same window and not spawn new
instances for every folder change.

I've set up (a) and (b) to give me a window that's located around the
center of the page, with room for 6 icons in the default (icon) view
on the right-hand pane. I did this by following the advice I read
here: setting up the window the way I want it and then using
File/Close.

That's perfectly fine, as long as I never look inside the Recycle Bin
or inside a compressed folder!

Whenever I invoke Explorer via (c) or (d), I invariably get a window
that's oriented toward the upper left of the screen, and has room for
7 icons in the right-hand pane.

Once I've done either (c) or (d), before long -- I wish I could be
more definite, but it creeps up on you -- the location and size of
the window (too big and too far up and left) that seems to be a
system default has infected the Explorer windows invoked by (a) and
(b) too.

Setting the recyle bin window using File/Close doesn't last very
long. And since Windows can't be made to open compressed folders by
keeping the same Explorer window, I have to set each one, one at a
time. Something is always knocking it back to the default. Perhaps
it's because I leave the "My Computer" and "My Documents" style of
views up longer, while I only open the recycle bin long enough to
glance at its contents and I do that quite often.

This is driving me nuts, and I'd admit defeat and roll over and use
the Explorer window the system wants to give me if it didn't look
like crap. Help!!!
--
Rev. Bob "Bob" Crispen
bob at crispen dot org
Ex Cathedra weblog: http://blog.crispen.org/

As I sat on death row for shooting the sheriff, I reflected on the
drawbacks of hiring an attorney who went to law school in Jamaica. -
after Bob Van Voris

.



Relevant Pages

  • Re: Saving Folder View Settings - Further
    ... customised the individual folders. ... Settings are now remembered. ... remembers how the window view was in W.E. - not how I had saved its window ... If I open Wind Expl (which opens by default at My Docs with a window ...
    (microsoft.public.windowsxp.general)
  • Re: Newbie Questions
    ... I got back the following topics: "Setting up a web site", "Using spotlight to search for items," and "Folders for your personal items." ... the switched-to app's body window to the foreground and sometimes not. ... I keep resizing and moving it, but the next time I open a Finder window, it's back to its old size and shape. ... If I choose Slide Show and then select that main media folder, it shows -- in random order -- all the pictures and movie clips all mixed in together with eachother. ...
    (comp.sys.mac.system)
  • Re: Unable to delete
    ... any files that may be in the folders. ... If there are any files, use the Attrib command to remove any Hidden, System or Read-only attributes that may have been set for them. ... Maybe it's Windows Explorer itself that is blocking the deletion; be sure it is focused on some other folder before you open the "DOS" window. ...
    (microsoft.public.windows.file_system)
  • Re: Problem with Start/Programs Window
    ... Can you explain a little more about the adjusting my screen please. ... >> Also,you might uninstall youre display adapter in device mgr,xp will ... >>> the little yellow labeling window. ... Use existing folders and, if necessary create new folders, under Programs ...
    (microsoft.public.windowsxp.basics)
  • Re: DOS app annoyance
    ... The app runs perfectly in a DOS window on my home PC's - both desktops and notebook - but will not run on two of the office PC's which I have tried it on. ... I've seen a lot of legacy applications that suddenly "choke" when asked to run on a more secure OS, simply because they were originally coded to write to what are now protected system folders or files under WinXP. ...
    (microsoft.public.windowsxp.general)

Loading