Lee <
mel...@my-deja.com> wrote in news:611be992-64d4-4b4a-b074-
742f0b...@i12g2000prl.googlegroups.com:
> For me the fix was immediate, but there is a trick to use when such
> registry changes are NOT immediate - go to Start|Shut Down and select
> cancel. The creation of the Shut Down dialog box rewrites any current
> ShellIconCache file and pending registry changes such that once you
> cancel the shutdown, your registry has different contents. At least
> sometimes.
>
The registry updates immediately, but the stuff that has to read it might
not. I didn't know that the shurdown dialog would cause the shell to do this,
and I suspect it may be limited, but there is a related method that always
forces a complete shell reload: Ctrl+Alt+Del, click Explorer in the list,
then click the End Task button. This will bring uo the Shutdown dialog but
click NO. And wait. :) Eventually the End Task dialog pops up asking if you
want to shut down Explorer. This time click YES, and it will immediately
close and restart. Not that any active system tray icons vanish, and a few
other quirks result, but this can bail a person out of a broken session where
it is critical that some program remains running. If you develop a massive
GDI memory leak during a major XviD encode, for example. This might at least
get you a fresh shell that won't crash, allowing safe monitoring of the task
that has to complete.
> I was going to dive into a diatribe on how spaces were not allowed in
> longnames no matter what the quote pair count situation was, but then
> I saw evidence to the contrary so I thought it best not to speak on it
> at all in my first post. By my "old" understanding it shouldn't have
> worked out, but
> ""C:\Apps\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" "%1""
> does. It should have resulted in a dead end entry of ACROBAT but does
> not. AcroRd32 instead is there with it's proper icon too. WTF? So
> double quotes DO appear to work with spaces and longnames after all?
>
Yep, it definitely does. If you look at that command you'll see the %1 is
also quoted. In many cases it isn't! THis is one of the less important errors
in default registries, but it explains why some programs can't take filenames
with spaces wven if the path to the program can because that part of the
command does (usually) get its quotes.
Try omitting one quote while keeping the other. That might get you a blank
entry in Open With, perhaps.. Or at least a blank look from the OS.
> As a side note, I see that my ShellIconCache file has swelled to
> 6,613KB in size - anybody got a bigger one?
>
Smaller here.
> Errors such that you report as "This error was in the default install
> on W98", I now believe are created by DOS mode hard disk write errors
> at installation time. Usually happens only to cheap crap machines
> with permanently broke DMA like mine which in the early days of 98
> required a re-installation of Windows almost quarterly. And because I
> was such a dangerous fool, I often got it without asking for it. Not
> so much lately, but then I've got DMA working properly from DOS mode
> now. And that would be applied before DOS mode Vmm32.vxd
et.al. gets
> loaded. Which totally explains why the VXD fix worked so good for me
> way back then against ALL advice to the contrary from the sage
> pundits. Sage pundits apparently can afford better machines than I
> can and don't suffer the problem to begin with.
>
I worked on building VMM32 last year, there's no doubt that some static, real
mode VXD's can be replaced with newer and better ones. Most are ok though.
Thing is, the registry paths thing wouldn't be related to a disk failure, or
if it was, then far more diabolical things are likely to get noticed first.
At that early stage in boot, significant troubles likely result in protected
mode errors, and Windows won't boot at all, the machine usually shuts right
down cold so fast we don't even get time to read why.
There may be situations that cause multiple errors to appear (or just get
noticed because we start lookign closely), but the mismatched quotes thing is
almost certainly a typo by someone at Microsoft. If you examine the few
filetypes and associations in a small 98-Lite instal you'll see enough of
them. I suppose it's possible that Shane Broosk did it. :) I think not
though, that stuff usually gets hoiked out of standard INF files at install
time. INF files are so tortuous that human error does creep into them, a lot.